diff options
author | Carl Hetherington <carl@carlh.net> | 2011-11-14 11:31:05 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-11-14 11:31:05 +0000 |
commit | 8de005efd58ac0733ce127d3a3bbaf969a62f2a6 (patch) | |
tree | eb0b44a79e2acf79fd842552b86299739350f447 /gtk2_ardour | |
parent | f1115594132cf975e40787e2bc003316d54524e3 (diff) |
Fix warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@10574 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/canvas-simplerect.c | 7 |
1 files changed, 0 insertions, 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 */ |