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;