Remove unnecessary update of 'name' local.
authorJason Molenda <jmolenda@apple.com>
Thu, 16 Oct 2014 01:55:21 +0000 (01:55 +0000)
committerJason Molenda <jmolenda@apple.com>
Thu, 16 Oct 2014 01:55:21 +0000 (01:55 +0000)
clang static analyzer fixit.

llvm-svn: 219892

lldb/scripts/Python/python-wrapper.swig

index 9f9ebad..35145c2 100644 (file)
@@ -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
     }
 }