Initialize 3 variables which were being used un-initialized.

No regression on testsuite. Comitted as obvious.

llvm-svn: 238761
This commit is contained in:
Hafiz Abid Qadeer 2015-06-01 17:08:30 +00:00
parent cbbf8e0a39
commit bfca0d7f7b
1 changed files with 3 additions and 3 deletions

View File

@ -1900,7 +1900,7 @@ Scalar::SetValueFromData (DataExtractor &data, lldb::Encoding encoding, size_t b
break; break;
case lldb::eEncodingUint: case lldb::eEncodingUint:
{ {
lldb::offset_t offset; lldb::offset_t offset = 0;
switch (byte_size) switch (byte_size)
{ {
@ -1916,7 +1916,7 @@ Scalar::SetValueFromData (DataExtractor &data, lldb::Encoding encoding, size_t b
break; break;
case lldb::eEncodingSint: case lldb::eEncodingSint:
{ {
lldb::offset_t offset; lldb::offset_t offset = 0;
switch (byte_size) switch (byte_size)
{ {
@ -1932,7 +1932,7 @@ Scalar::SetValueFromData (DataExtractor &data, lldb::Encoding encoding, size_t b
break; break;
case lldb::eEncodingIEEE754: case lldb::eEncodingIEEE754:
{ {
lldb::offset_t offset; lldb::offset_t offset = 0;
if (byte_size == sizeof (float)) if (byte_size == sizeof (float))
operator=((float)data.GetFloat(&offset)); operator=((float)data.GetFloat(&offset));