aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-07-24 18:20:38 +0000
committerAnders Carlsson <andersca@mac.com>2009-07-24 18:20:38 +0000
commit5602719fd5394c1e00c8aac237eb006b6aa32e52 (patch)
tree7f304fd3d504060e357f31038b7b451748b3fb3f /lib/CodeGen/CGExprConstant.cpp
parent50b8eea3f36881a988a5757e0f6e15d45900324b (diff)
Fix a release build warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76985 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
-rw-r--r--lib/CodeGen/CGExprConstant.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExprConstant.cpp b/lib/CodeGen/CGExprConstant.cpp
index 648dbde3f7..34b67c80b4 100644
--- a/lib/CodeGen/CGExprConstant.cpp
+++ b/lib/CodeGen/CGExprConstant.cpp
@@ -167,7 +167,7 @@ public:
assert(Builder.NextFieldOffsetInBytes == Builder.getSizeInBytes(Result));
- return 0;
+ return Result;
}
};