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 | 271474e32f38cc5bd735c1006e499996cbc6e2d1 (patch) | |
tree | 5c819aaf37815e8128678738861ae39a995a6b01 /lib/CodeGen/CodeGenModule.cpp | |
parent | c39c3d47962083061daaae26e572d9c14d143487 (diff) |
silence a warning, it isn't clear what the right answer is here,
will talk to steve.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69519 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index df62f0e918..a517d81545 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/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()) { |