mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-22 12:08:33 +00:00
Remove unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31376 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4ab09d4bb7
commit
41562398b6
@ -150,7 +150,7 @@ void Function::renameLocalSymbols() {
|
||||
for (SymbolTable::plane_iterator LPI = LST.plane_begin(), E = LST.plane_end();
|
||||
LPI != E; ++LPI)
|
||||
// All global symbols are of pointer type, ignore any non-pointer planes.
|
||||
if (const PointerType *CurTy = dyn_cast<PointerType>(LPI->first)) {
|
||||
if (isa<PointerType>(LPI->first)) {
|
||||
// Only check if the global plane has any symbols of this type.
|
||||
SymbolTable::plane_iterator GPI = GST.find(LPI->first);
|
||||
if (GPI != GST.plane_end()) {
|
||||
|
Loading…
Reference in New Issue
Block a user