From edd3661daf0c834881c59531bb52b42351b5afd2 Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 5 Sep 2019 20:01:37 +0200 Subject: =?UTF-8?q?remove=20-Wunused-but-set-variable=20warning=20ephy-zoo?= =?UTF-8?q?m-control.c:274:20:=20warning:=20variable=20=E2=80=98tool=5Fite?= =?UTF-8?q?m=5Fclass=E2=80=99=20set=20but=20not=20used=20[-Wunused-but-set?= =?UTF-8?q?-variable]=20=20=20274=20|=20=20GtkToolItemClass=20*tool=5Fitem?= =?UTF-8?q?=5Fclass;=20=20=20=20=20=20=20|=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20^~~~~~~~~~~~~~~=20--=20ev-window.?= =?UTF-8?q?c:1390:10:=20warning:=20variable=20=E2=80=98page=E2=80=99=20set?= =?UTF-8?q?=20but=20not=20used=20[-Wunused-but-set-variable]=20=201390=20|?= =?UTF-8?q?=20=20gint=20=20=20=20page,=20n=5Fpages;=20=20=20=20=20=20=20|?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20^~~~?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/ev-window.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'shell') diff --git a/shell/ev-window.c b/shell/ev-window.c index 15d81b4c..724491ca 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -1387,7 +1387,7 @@ monitor_get_dimesions (EvWindow *ev_window, static void setup_document_from_metadata (EvWindow *window) { - gint page, n_pages; + gint n_pages; gint width; gint height; gdouble width_ratio; @@ -1402,7 +1402,6 @@ setup_document_from_metadata (EvWindow *window) * since closing it on the last page most likely means the * user was finished reading the document. In that case, reopening should * show the first page. */ - page = ev_document_model_get_page (window->priv->model); n_pages = ev_document_get_n_pages (window->priv->document); if (ev_metadata_get_int (window->priv->metadata, "window_width", &width) && -- cgit v1.2.1