Another similar fix for use of an uninitialized variable.
[ardour.git] / gtk2_ardour / canvas-simplerect.c
index 91649b64bbca6f2f7ed7ecc2c3ad660b7ecb8584..6ad0c791f887b4753a12ee5cbfe74642816d2e1b 100644 (file)
@@ -370,6 +370,8 @@ gnome_canvas_simplerect_set_property (GObject      *object,
                                      GParamSpec   *pspec)
 
 {
+       (void) pspec;
+       
        GnomeCanvasSimpleRect *simplerect;
        int update = FALSE;
        int bounds_changed = FALSE;
@@ -825,6 +827,9 @@ gnome_canvas_simplerect_draw (GnomeCanvasItem *item,
 static double
 gnome_canvas_simplerect_point (GnomeCanvasItem *item, double x, double y, int cx, int cy, GnomeCanvasItem **actual_item)
 {
+       (void) cx;
+       (void) cy;
+               
        GnomeCanvasSimpleRect *simplerect;
        double x1, y1, x2, y2;
        double dx, dy;