[cfe-commits] r89149 - /cfe/trunk/tools/clang-cc/clang-cc.cpp
Daniel Dunbar
daniel at zuster.org
Tue Nov 17 13:51:03 PST 2009
Author: ddunbar
Date: Tue Nov 17 15:51:03 2009
New Revision: 89149
URL: http://llvm.org/viewvc/llvm-project?rev=89149&view=rev
Log:
Fix -Asserts warning.
Modified:
cfe/trunk/tools/clang-cc/clang-cc.cpp
Modified: cfe/trunk/tools/clang-cc/clang-cc.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-cc/clang-cc.cpp?rev=89149&r1=89148&r2=89149&view=diff
==============================================================================
--- cfe/trunk/tools/clang-cc/clang-cc.cpp (original)
+++ cfe/trunk/tools/clang-cc/clang-cc.cpp Tue Nov 17 15:51:03 2009
@@ -225,7 +225,7 @@
//
// 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));
More information about the cfe-commits
mailing list