Remove unnecessary update of 'name' local.
clang static analyzer fixit. llvm-svn: 219892
This commit is contained in:
parent
3c86c7e3a2
commit
3206b1e077
|
@ -91,7 +91,6 @@ ResolvePythonName(const char* name,
|
||||||
pmodule = ResolvePythonName(piece.c_str(), main_dict);
|
pmodule = ResolvePythonName(piece.c_str(), main_dict);
|
||||||
if (!pmodule)
|
if (!pmodule)
|
||||||
return NULL;
|
return NULL;
|
||||||
name = dot_pos+1;
|
|
||||||
return ResolvePythonName(dot_pos+1,pmodule); // tail recursion.. should be optimized by the compiler
|
return ResolvePythonName(dot_pos+1,pmodule); // tail recursion.. should be optimized by the compiler
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue