]> granicus.if.org Git - clang/commitdiff
Fix -Asserts warning.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 17 Nov 2009 21:51:03 +0000 (21:51 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 17 Nov 2009 21:51:03 +0000 (21:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89149 91177308-0d34-0410-b5e6-96231b3b80d8

tools/clang-cc/clang-cc.cpp

index 975ec53fb5292883d3707b0b0e2b2c1a4093a5c4..bae8697e14bd0446b7881aa2e716d9d4145b9a5f 100644 (file)
@@ -225,7 +225,7 @@ int main(int argc, char **argv) {
   //
   // FIXME: We should move .ast inputs to taking a separate path, they are
   // really quite different.
-  bool IsAST;
+  bool IsAST = false;
   Clang.setTarget(
     ConstructCompilerInvocation(Clang.getInvocation(), Clang.getDiagnostics(),
                                 argv[0], IsAST));