From 4cc8d202d0f2d0c16bd748c0a0f675002957b172 Mon Sep 17 00:00:00 2001 From: Vince Harron Date: Sun, 10 May 2015 08:33:58 +0000 Subject: Fixed minor compile warnings llvm-svn: 236945 --- lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lldb/source/Plugins/Process/gdb-remote') 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 -- cgit v1.2.3