[cfe-commits] r131019 - /cfe/trunk/lib/CodeGen/CGExprCXX.cpp
Cameron Esfahani
dirty at apple.com
Fri May 6 14:30:47 PDT 2011
Author: dirty
Date: Fri May 6 16:28:42 2011
New Revision: 131019
URL: http://llvm.org/viewvc/llvm-project?rev=131019&view=rev
Log:
Fix false positive warning about uninitialized variable.
Modified:
cfe/trunk/lib/CodeGen/CGExprCXX.cpp
Modified: cfe/trunk/lib/CodeGen/CGExprCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGExprCXX.cpp?rev=131019&r1=131018&r2=131019&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGExprCXX.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGExprCXX.cpp Fri May 6 16:28:42 2011
@@ -403,7 +403,7 @@
E->arg_begin(), E->arg_end());
}
else {
- CXXCtorType Type;
+ CXXCtorType Type = Ctor_Complete;
bool ForVirtualBase = false;
switch (E->getConstructionKind()) {
More information about the cfe-commits
mailing list