Skip to content

Commit 92e9024

Browse files
committed
Fix compiler warning
1 parent 8acb984 commit 92e9024

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/clangparser.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -736,11 +736,10 @@ void ClangTUParser::linkIdentifier(OutputCodeList &ol,const FileDef *fd,
736736
{
737737
d = kv->second;
738738
}
739-
CXCursorKind kind = clang_getCursorKind(c);
740739
if (d==0)
741740
{
742741
AUTO_TRACE_ADD("didn't find definition for '{}' usr='{}' kind={}",
743-
text,usrStr,(int)kind);
742+
text,usrStr,(int)clang_getCursorKind(c));
744743
}
745744
else
746745
{

0 commit comments

Comments
 (0)