[cfe-commits] r84909 - /cfe/trunk/tools/c-index-test/c-index-test.c
Fariborz Jahanian
fjahanian at apple.com
Thu Oct 22 15:49:48 PDT 2009
Author: fjahanian
Date: Thu Oct 22 17:49:47 2009
New Revision: 84909
URL: http://llvm.org/viewvc/llvm-project?rev=84909&view=rev
Log:
Fixes a warning.
Modified:
cfe/trunk/tools/c-index-test/c-index-test.c
Modified: cfe/trunk/tools/c-index-test/c-index-test.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/c-index-test/c-index-test.c?rev=84909&r1=84908&r2=84909&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/c-index-test.c (original)
+++ cfe/trunk/tools/c-index-test/c-index-test.c Thu Oct 22 17:49:47 2009
@@ -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;
More information about the cfe-commits
mailing list