mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-30 14:50:30 +00:00
Remove obviously invalid early exit that prevented analyzing ConstantAggregateZeros.
Found by the clang static analyzer. llvm-svn: 148540
This commit is contained in:
parent
cd18a7720d
commit
1d768583f5
@ -4611,7 +4611,6 @@ GetAddressedElementFromGlobal(GlobalVariable *GV,
|
||||
} else {
|
||||
llvm_unreachable("Unknown constant aggregate type!");
|
||||
}
|
||||
return 0;
|
||||
} else {
|
||||
return 0; // Unknown initializer type
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user