diff options
author | Vince Harron <vince@nethacker.com> | 2015-05-13 00:25:54 +0000 |
---|---|---|
committer | Vince Harron <vince@nethacker.com> | 2015-05-13 00:25:54 +0000 |
commit | d7e6a4f2f07464acfe4fe98b4e4038c67c7b2975 (patch) | |
tree | 329d2a720739a7140401e3842b751aa7f0651c93 /lldb/source/Core/FormatEntity.cpp | |
parent | 9bbc3653c5ccb170167b2ab3c4ec098be83a3d04 (diff) | |
download | bcm5719-llvm-d7e6a4f2f07464acfe4fe98b4e4038c67c7b2975.tar.gz bcm5719-llvm-d7e6a4f2f07464acfe4fe98b4e4038c67c7b2975.zip |
Fixed a ton of gcc compile warnings
Removed some unused variables, added some consts, changed some casts
to const_cast. I don't think any of these changes are very
controversial.
Differential Revision: http://reviews.llvm.org/D9674
llvm-svn: 237218
Diffstat (limited to 'lldb/source/Core/FormatEntity.cpp')
-rw-r--r-- | lldb/source/Core/FormatEntity.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/Core/FormatEntity.cpp b/lldb/source/Core/FormatEntity.cpp index ef3711044eb..b1f28ae17c3 100644 --- a/lldb/source/Core/FormatEntity.cpp +++ b/lldb/source/Core/FormatEntity.cpp @@ -1299,13 +1299,11 @@ FormatEntity::Format (const Entry &entry, // Watch for the special "tid" format... if (entry.printf_format == "tid") { - bool handled = false; Target &target = thread->GetProcess()->GetTarget(); ArchSpec arch (target.GetArchitecture ()); llvm::Triple::OSType ostype = arch.IsValid() ? arch.GetTriple().getOS() : llvm::Triple::UnknownOS; if ((ostype == llvm::Triple::FreeBSD) || (ostype == llvm::Triple::Linux)) { - handled = true; format = "%" PRIu64; } } |