Really fix build warning/error that I think r192756 was trying to fix.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192773 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper 2013-10-16 06:50:36 +00:00
parent 1e6810005f
commit 2369bf9ecf

View File

@ -82,12 +82,12 @@ static const char *processFDE(const char *Entry, bool isDeregister) {
uint32_t Length = *((const uint32_t *)P);
P += 4;
uint32_t Offset = *((const uint32_t *)P);
if (Offset != 0)
if (isDeregister) {
if (Offset != 0) {
if (isDeregister)
__deregister_frame(const_cast<char *>(Entry));
} else {
else
__register_frame(const_cast<char *>(Entry));
}
}
return P + Length;
}