Commit d0800a0c authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

fix compile warning by adding default: for unused enum values.

2005-10-03  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimppainttool.c (gimp_paint_tool_color_picked):
	fix compile warning by adding default: for unused enum values.
parent 83f8ec04
2005-10-03 Michael Natterer <mitch@gimp.org>
* app/tools/gimppainttool.c (gimp_paint_tool_color_picked):
fix compile warning by adding default: for unused enum values.
2005-10-03 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* gimp/app/paint/gimpbrushcore.c
......
......@@ -884,9 +884,6 @@ gimp_paint_tool_color_picked (GimpColorTool *color_tool,
switch (color_tool->pick_mode)
{
case GIMP_COLOR_PICK_MODE_NONE:
break;
case GIMP_COLOR_PICK_MODE_FOREGROUND:
gimp_context_set_foreground (context, color);
break;
......@@ -894,6 +891,9 @@ gimp_paint_tool_color_picked (GimpColorTool *color_tool,
case GIMP_COLOR_PICK_MODE_BACKGROUND:
gimp_context_set_background (context, color);
break;
default:
break;
}
}
}
......
......@@ -884,9 +884,6 @@ gimp_paint_tool_color_picked (GimpColorTool *color_tool,
switch (color_tool->pick_mode)
{
case GIMP_COLOR_PICK_MODE_NONE:
break;
case GIMP_COLOR_PICK_MODE_FOREGROUND:
gimp_context_set_foreground (context, color);
break;
......@@ -894,6 +891,9 @@ gimp_paint_tool_color_picked (GimpColorTool *color_tool,
case GIMP_COLOR_PICK_MODE_BACKGROUND:
gimp_context_set_background (context, color);
break;
default:
break;
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment