Author: vharron Date: Sun May 10 03:33:58 2015 New Revision: 236945 URL: http://llvm.org/viewvc/llvm-project?rev=236945&view=rev Log: Fixed minor compile warnings
Modified: lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp Modified: lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp?rev=236945&r1=236944&r2=236945&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp (original) +++ lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp Sun May 10 03:33:58 2015 @@ -4052,7 +4052,6 @@ ProcessGDBRemote::GetLoadedModuleList (G 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 _______________________________________________ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits