[Lldb-commits] [lldb] r219892 - Remove unnecessary update of 'name' local.

Jason Molenda jmolenda at apple.com
Wed Oct 15 18:55:22 PDT 2014


Author: jmolenda
Date: Wed Oct 15 20:55:21 2014
New Revision: 219892

URL: http://llvm.org/viewvc/llvm-project?rev=219892&view=rev
Log:
Remove unnecessary update of 'name' local.
clang static analyzer fixit.

Modified:
    lldb/trunk/scripts/Python/python-wrapper.swig

Modified: lldb/trunk/scripts/Python/python-wrapper.swig
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/python-wrapper.swig?rev=219892&r1=219891&r2=219892&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/python-wrapper.swig (original)
+++ lldb/trunk/scripts/Python/python-wrapper.swig Wed Oct 15 20:55:21 2014
@@ -91,7 +91,6 @@ ResolvePythonName(const char* name,
         pmodule = ResolvePythonName(piece.c_str(), main_dict);
         if (!pmodule)
             return NULL;
-        name = dot_pos+1;
         return ResolvePythonName(dot_pos+1,pmodule); // tail recursion.. should be optimized by the compiler
     }
 }





More information about the lldb-commits mailing list