diff options
| author | Pavel Labath <labath@google.com> | 2017-11-02 21:35:26 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2017-11-02 21:35:26 +0000 |
| commit | eac00c3be67ffaf831bedabaeb1b558f49c4cec8 (patch) | |
| tree | 708a17d065a0334fa16ece717f1acfc2ea76a418 /lldb/source/Target/PathMappingList.cpp | |
| parent | 1d02b13eb7758844adb9f1cec0828376f10d365a (diff) | |
| download | bcm5719-llvm-eac00c3be67ffaf831bedabaeb1b558f49c4cec8.tar.gz bcm5719-llvm-eac00c3be67ffaf831bedabaeb1b558f49c4cec8.zip | |
Fix some warnings found by ToT clang
These fall into two categories:
- unused variables
- (uint8_t *)NULL + X -- changed to reinterpret_cast(X)
llvm-svn: 317270
Diffstat (limited to 'lldb/source/Target/PathMappingList.cpp')
| -rw-r--r-- | lldb/source/Target/PathMappingList.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/source/Target/PathMappingList.cpp b/lldb/source/Target/PathMappingList.cpp index b834a3600d0..782c6e49623 100644 --- a/lldb/source/Target/PathMappingList.cpp +++ b/lldb/source/Target/PathMappingList.cpp @@ -85,7 +85,6 @@ void PathMappingList::Insert(const ConstString &path, bool PathMappingList::Replace(const ConstString &path, const ConstString &replacement, uint32_t index, bool notify) { - iterator insert_iter; if (index >= m_pairs.size()) return false; ++m_mod_id; |

