[Lldb-commits] [lldb] r236945 - Fixed minor compile warnings

Vince Harron vince at nethacker.com
Sun May 10 01:33:58 PDT 2015


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





More information about the lldb-commits mailing list