app: avoid some GCC warnings due to unhandled switch cases
This commit is contained in:
@ -119,6 +119,7 @@ gimp_operation_erase_process (GeglOperation *op,
|
||||
break;
|
||||
|
||||
case GIMP_LAYER_COMPOSITE_SRC_ATOP:
|
||||
case GIMP_LAYER_COMPOSITE_AUTO:
|
||||
while (samples--)
|
||||
{
|
||||
gfloat layer_alpha;
|
||||
|
@ -2013,6 +2013,7 @@ gimp_layer_mode_get_blend_fun (GimpLayerMode mode)
|
||||
case GIMP_LAYER_MODE_ERASE:
|
||||
case GIMP_LAYER_MODE_REPLACE:
|
||||
case GIMP_LAYER_MODE_ANTI_ERASE:
|
||||
case GIMP_LAYER_MODE_SEPARATOR: /* to stop GCC from complaining :P */
|
||||
return blendfun_dummy;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user