diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-09-07 19:57:04 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-09-07 19:57:04 +0000 |
commit | 535618b9274ce57b2edd66b73ce7324a6670de84 (patch) | |
tree | 5114355213e9bcb29be5d0d848492b7eaec869c1 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 091012d5d506dd86e78ac7bc72aa3357f76b1c7b (diff) | |
download | bcm5719-llvm-535618b9274ce57b2edd66b73ce7324a6670de84.tar.gz bcm5719-llvm-535618b9274ce57b2edd66b73ce7324a6670de84.zip |
get rid of a warning.
llvm-svn: 113256
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 6a527a229e4..173fbf4ff7f 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -1494,9 +1494,9 @@ GetConstantCFStringEntry(llvm::StringMap<llvm::Constant*> &Map, const UTF8 *FromPtr = (UTF8 *)String.data(); UTF16 *ToPtr = &ToBuf[0]; - ConversionResult Result = ConvertUTF8toUTF16(&FromPtr, FromPtr + NumBytes, - &ToPtr, ToPtr + NumBytes, - strictConversion); + (void)ConvertUTF8toUTF16(&FromPtr, FromPtr + NumBytes, + &ToPtr, ToPtr + NumBytes, + strictConversion); // ConvertUTF8toUTF16 returns the length in ToPtr. StringLength = ToPtr - &ToBuf[0]; |