mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 19:08:21 +08:00
Remove unnecessary update of 'name' local.
clang static analyzer fixit. llvm-svn: 219892
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user