[cfe-commits] r112192 - /cfe/trunk/lib/Sema/SemaInit.cpp
John McCall
rjmccall at apple.com
Thu Aug 26 09:36:35 PDT 2010
Author: rjmccall
Date: Thu Aug 26 11:36:35 2010
New Revision: 112192
URL: http://llvm.org/viewvc/llvm-project?rev=112192&view=rev
Log:
Work around a gcc warning.
Modified:
cfe/trunk/lib/Sema/SemaInit.cpp
Modified: cfe/trunk/lib/Sema/SemaInit.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaInit.cpp?rev=112192&r1=112191&r2=112192&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaInit.cpp (original)
+++ cfe/trunk/lib/Sema/SemaInit.cpp Thu Aug 26 11:36:35 2010
@@ -2136,6 +2136,7 @@
void InitializationSequence::AddQualificationConversionStep(QualType Ty,
ExprValueKind VK) {
Step S;
+ S.Kind = SK_QualificationConversionRValue; // work around a gcc warning
switch (VK) {
case VK_RValue:
S.Kind = SK_QualificationConversionRValue;
More information about the cfe-commits
mailing list