Massage code to avoid warnings
Change-Id: I847e1a109bd20e64161a7735ee30b2fe1ca507b0
This commit is contained in:
@@ -378,14 +378,11 @@ namespace drawinglayer
|
||||
aRetval = Primitive2DContainer { aPrimitiveBlackAndWhite };
|
||||
break;
|
||||
}
|
||||
// coverity[dead_error_begin] - intentional dead case
|
||||
case GRAPHICDRAWMODE_WATERMARK:
|
||||
{
|
||||
assert(false && "OOps, GRAPHICDRAWMODE_WATERMARK should already be handled (see above)");
|
||||
// fallthrough intended
|
||||
}
|
||||
default: // case GRAPHICDRAWMODE_STANDARD:
|
||||
{
|
||||
assert(
|
||||
aGraphicDrawMode != GRAPHICDRAWMODE_WATERMARK
|
||||
&& "OOps, GRAPHICDRAWMODE_WATERMARK should already be handled (see above)");
|
||||
// nothing to do
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user