diff options
author | Vince Harron <vince@nethacker.com> | 2015-05-10 08:33:58 +0000 |
---|---|---|
committer | Vince Harron <vince@nethacker.com> | 2015-05-10 08:33:58 +0000 |
commit | 4cc8d202d0f2d0c16bd748c0a0f675002957b172 (patch) | |
tree | 39f31eafcac88cc7e651a45f3169961009532663 /lldb/source/Plugins/Process/gdb-remote | |
parent | f0fd1c66df9cd7180c3735f283e6cd1c6bc3dcab (diff) | |
download | bcm5719-llvm-4cc8d202d0f2d0c16bd748c0a0f675002957b172.tar.gz bcm5719-llvm-4cc8d202d0f2d0c16bd748c0a0f675002957b172.zip |
Fixed minor compile warnings
llvm-svn: 236945
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index bb99d13fa54..6eb4fbd2078 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -4052,7 +4052,6 @@ ProcessGDBRemote::GetLoadedModuleList (GDBLoadedModuleInfoList & list) initGenericErrorDefaultFunc (&func); GDBRemoteCommunicationClient & comm = m_gdb_comm; - GDBRemoteDynamicRegisterInfo & regInfo = m_register_info; // check that we have extended feature read support if (!comm.GetQXferLibrariesSVR4ReadSupported ()) @@ -4228,7 +4227,7 @@ ProcessGDBRemote::LoadModules () continue; // hack (cleaner way to get file name only?) (win/unix compat?) - int marker = mod_name.rfind ('/'); + size_t marker = mod_name.rfind ('/'); if (marker == std::string::npos) marker = 0; else |