diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-19 06:59:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-19 06:59:18 +0000 |
commit | 5f65cc8215d075995345d7f721949f9db6ce10a2 (patch) | |
tree | ff6bac84d57c98318c3429160e493137b7196453 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | ea73782ce3721e7f62c04efbd1e34db2c641fce6 (diff) | |
download | bcm5719-llvm-5f65cc8215d075995345d7f721949f9db6ce10a2.tar.gz bcm5719-llvm-5f65cc8215d075995345d7f721949f9db6ce10a2.zip |
silence a warning, it isn't clear what the right answer is here,
will talk to steve.
llvm-svn: 69519
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index df62f0e918b..a517d81545e 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -1062,7 +1062,7 @@ static void appendFieldAndPadding(CodeGenModule &CGM, llvm::Constant *CodeGenModule:: GetAddrOfConstantCFString(const StringLiteral *Literal) { std::string str; - unsigned StringLength; + unsigned StringLength = 0; bool isUTF16 = false; if (Literal->containsNonAsciiOrNull()) { |