Fix warnings.

llvm-svn: 80833
This commit is contained in:
Eli Friedman 2009-09-02 20:07:26 +00:00
parent c76bfb777e
commit b041c75f09
1 changed files with 0 additions and 2 deletions

View File

@ -23,7 +23,6 @@ static void TranslationUnitVisitor(CXTranslationUnit Unit, CXCursor Cursor,
clang_getCursorLine(Cursor),
clang_getCursorColumn(Cursor));
enum CXCursorKind filterData = CXCursor_FieldDecl;
clang_loadDeclaration(Cursor.decl, DeclVisitor, 0);
}
}
@ -35,7 +34,6 @@ int main(int argc, char **argv) {
CXIndex Idx = clang_createIndex();
CXTranslationUnit TU = clang_createTranslationUnit(Idx, argv[1]);
enum CXCursorKind filterData = CXCursor_StructDecl;
clang_loadTranslationUnit(TU, TranslationUnitVisitor, 0);
return 1;
}