From b3ccabe6273a87ae9b60666098895d4f5e6c5a5f Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Thu, 2 Feb 2012 13:28:27 +0100 Subject: Clean up dead assignments. --- liblogdiag/ld-diagram-view.c | 2 -- liblogdiag/ld-library-toolbar.c | 3 --- 2 files changed, 5 deletions(-) (limited to 'liblogdiag') diff --git a/liblogdiag/ld-diagram-view.c b/liblogdiag/ld-diagram-view.c index 1898177..d8b5d0a 100644 --- a/liblogdiag/ld-diagram-view.c +++ b/liblogdiag/ld-diagram-view.c @@ -1997,9 +1997,7 @@ static void oper_select_queue_draw (LdDiagramView *self) { LdRectangle rect; - SelectData *data; - data = &OPER_DATA (self, select); oper_select_get_rectangle (self, &rect); queue_draw (self, &rect); } diff --git a/liblogdiag/ld-library-toolbar.c b/liblogdiag/ld-library-toolbar.c index 295589e..bd1baae 100644 --- a/liblogdiag/ld-library-toolbar.c +++ b/liblogdiag/ld-library-toolbar.c @@ -125,11 +125,8 @@ static void ld_library_toolbar_class_init (LdLibraryToolbarClass *klass) { GObjectClass *object_class; - GtkWidgetClass *widget_class; GParamSpec *pspec; - widget_class = GTK_WIDGET_CLASS (klass); - object_class = G_OBJECT_CLASS (klass); object_class->get_property = ld_library_toolbar_get_property; object_class->set_property = ld_library_toolbar_set_property; -- cgit v1.2.3-70-g09d2