From 8de005efd58ac0733ce127d3a3bbaf969a62f2a6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 14 Nov 2011 11:31:05 +0000 Subject: [PATCH] Fix warnings. git-svn-id: svn://localhost/ardour2/branches/3.0@10574 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/canvas-simplerect.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gtk2_ardour/canvas-simplerect.c b/gtk2_ardour/canvas-simplerect.c index e7cb522e82..fe6e1855be 100644 --- a/gtk2_ardour/canvas-simplerect.c +++ b/gtk2_ardour/canvas-simplerect.c @@ -232,13 +232,9 @@ gnome_canvas_simplerect_init (GnomeCanvasSimpleRect *simplerect) static void gnome_canvas_simplerect_destroy (GtkObject *object) { - GnomeCanvasSimpleRect *rect; - g_return_if_fail (object != NULL); g_return_if_fail (GNOME_IS_CANVAS_SIMPLERECT (object)); - rect = GNOME_CANVAS_SIMPLERECT (object); - /* remember, destroy can be run multiple times! */ if (GTK_OBJECT_CLASS (parent_class)->destroy) @@ -847,12 +843,9 @@ gnome_canvas_simplerect_point (GnomeCanvasItem *item, double x, double y, int cx (void) cx; (void) cy; - GnomeCanvasSimpleRect *simplerect; double x1, y1, x2, y2; double dx, dy; - simplerect = GNOME_CANVAS_SIMPLERECT (item); - *actual_item = item; /* Find the bounds for the rectangle plus its outline width */ -- 2.30.2