app: avoid some GCC warnings due to unhandled switch cases

This commit is contained in:
Ell
2017-02-17 09:54:04 -05:00
parent 3bd9ce539a
commit 50d8455890
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -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;
}