[cfe-commits] r76985 - /cfe/trunk/lib/CodeGen/CGExprConstant.cpp
Anders Carlsson
andersca at mac.com
Fri Jul 24 11:20:39 PDT 2009
Author: andersca
Date: Fri Jul 24 13:20:38 2009
New Revision: 76985
URL: http://llvm.org/viewvc/llvm-project?rev=76985&view=rev
Log:
Fix a release build warning.
Modified:
cfe/trunk/lib/CodeGen/CGExprConstant.cpp
Modified: cfe/trunk/lib/CodeGen/CGExprConstant.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGExprConstant.cpp?rev=76985&r1=76984&r2=76985&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGExprConstant.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGExprConstant.cpp Fri Jul 24 13:20:38 2009
@@ -167,7 +167,7 @@
assert(Builder.NextFieldOffsetInBytes == Builder.getSizeInBytes(Result));
- return 0;
+ return Result;
}
};
More information about the cfe-commits
mailing list