Fixed minor compile warnings

llvm-svn: 236945
This commit is contained in:
Vince Harron 2015-05-10 08:33:58 +00:00
parent f0fd1c66df
commit 4cc8d202d0
1 changed files with 1 additions and 2 deletions

View File

@ -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