Remove obviously invalid early exit that prevented analyzing ConstantAggregateZeros.

Found by the clang static analyzer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148540 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2012-01-20 14:42:25 +00:00
parent ace4f2b0d4
commit 07df1b4d1a

View File

@ -4611,7 +4611,6 @@ GetAddressedElementFromGlobal(GlobalVariable *GV,
} else {
llvm_unreachable("Unknown constant aggregate type!");
}
return 0;
} else {
return 0; // Unknown initializer type
}