Fixed incorrect check. Spotted by Axel.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33930 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2009-11-07 08:43:32 +00:00
parent 4914357d9d
commit 4663f6d46a

View File

@ -1401,7 +1401,7 @@ DwarfFile::_ParseCIE(CompilationUnit* unit, CfaContext& context,
return B_UNSUPPORTED;
}
if (augmentation == NULL || *augmentation != '\0') {
if (augmentation != NULL && *augmentation != '\0') {
if (strcmp(augmentation, "eh") == 0) {
// the augmentation consists of the exception table pointer -- just
// ignore it