commit | cab9882dac2ef4ea5f4e2cb2da91a7f43ced17c1 | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Thu Oct 22 22:49:47 2009 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Thu Oct 22 22:49:47 2009 +0000 |
tree | 940e14650128a6180aa2377706107f7a3a5616c4 | |
parent | 54e14c4db764c0636160d26c5bbf491637c83a76 [diff] [blame] |
Fixes a warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84909 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c index 5cbc2fa..cf2a706 100644 --- a/tools/c-index-test/c-index-test.c +++ b/tools/c-index-test/c-index-test.c
@@ -54,6 +54,7 @@ CXCursor Ref; while (startBuf < endBuf) { + CXLookupHint hint; if (*startBuf == '\n') { startBuf++; curLine++; @@ -61,7 +62,6 @@ } else if (*startBuf != '\t') curColumn++; - CXLookupHint hint; clang_initCXLookupHint(&hint); hint.decl = Cursor.decl;