Made blender compilable with strict flags.
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 18 Jun 2013 10:09:45 +0000 (10:09 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 18 Jun 2013 10:09:45 +0000 (10:09 +0000)
source/blender/editors/interface/interface_widgets.c

index 717b45496ae3fec6ece82b29a62a5ab804412eac..d8efb972ce9a15161876d73dc6c103dc73b598e7 100644 (file)
@@ -2322,7 +2322,7 @@ static void widget_numbut(uiWidgetColors *wcol, rcti *rect, int state, int round
 /*
  * Draw number buttons still with triangles when field is not embossed
 */
-static void widget_numbut_embossn(uiBut *but, uiWidgetColors *wcol, rcti *rect, int state, int roundboxalign)
+static void widget_numbut_embossn(uiBut *UNUSED(but), uiWidgetColors *wcol, rcti *rect, int state, int roundboxalign)
 {
        widget_numbut_draw(wcol, rect, state, roundboxalign, true);
 }