summaryrefslogtreecommitdiff
path: root/cut-n-paste
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-09-05 20:01:37 +0200
committerZenWalker <[email protected]>2019-09-06 01:17:18 +0200
commitedd3661daf0c834881c59531bb52b42351b5afd2 (patch)
tree401eaa468e6ce0de8de2ff3abd4d8059539e5f70 /cut-n-paste
parent25baad286f024a881367a82d7ec65545cc1929e7 (diff)
downloadatril-edd3661daf0c834881c59531bb52b42351b5afd2.tar.bz2
atril-edd3661daf0c834881c59531bb52b42351b5afd2.tar.xz
remove -Wunused-but-set-variable warning
ephy-zoom-control.c:274:20: warning: variable ‘tool_item_class’ set but not used [-Wunused-but-set-variable] 274 | GtkToolItemClass *tool_item_class; | ^~~~~~~~~~~~~~~ -- ev-window.c:1390:10: warning: variable ‘page’ set but not used [-Wunused-but-set-variable] 1390 | gint page, n_pages; | ^~~~
Diffstat (limited to 'cut-n-paste')
-rw-r--r--cut-n-paste/zoom-control/ephy-zoom-control.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cut-n-paste/zoom-control/ephy-zoom-control.c b/cut-n-paste/zoom-control/ephy-zoom-control.c
index dc8ea3b6..c1364f32 100644
--- a/cut-n-paste/zoom-control/ephy-zoom-control.c
+++ b/cut-n-paste/zoom-control/ephy-zoom-control.c
@@ -271,10 +271,8 @@ static void
ephy_zoom_control_class_init (EphyZoomControlClass *klass)
{
GObjectClass *object_class;
- GtkToolItemClass *tool_item_class;
object_class = (GObjectClass *)klass;
- tool_item_class = (GtkToolItemClass *)klass;
object_class->set_property = ephy_zoom_control_set_property;
object_class->get_property = ephy_zoom_control_get_property;