Bug 557559: Handle enum value NS_ASSERT_UNINITIALIZED in switch statement, to fix build warning. r=bsmedberg
This commit is contained in:
@@ -357,7 +357,9 @@ NS_DebugBreak(PRUint32 aSeverity, const char *aStr, const char *aExpr,
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
case NS_ASSERT_TRAP:
|
case NS_ASSERT_TRAP:
|
||||||
|
case NS_ASSERT_UNINITIALIZED: // Default to "trap" behavior
|
||||||
Break(buf.buffer);
|
Break(buf.buffer);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user