From d559d4f3a9cdeb3c89b7b7bae0f1de08d23dcf02 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sun, 13 Jan 2008 11:47:11 +0000 Subject: [PATCH] Fix compile warnings due to unused variables. 2008-01-13 Carlos Garcia Campos * backend/djvu/djvu-text-page.c: (djvu_text_page_limits): * shell/ev-window.c: (image_save_dialog_response_cb): Fix compile warnings due to unused variables. svn path=/trunk/; revision=2817 --- ChangeLog | 7 +++++++ backend/djvu/djvu-text-page.c | 2 -- shell/ev-window.c | 3 +-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9994b618..53745894 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-01-13 Carlos Garcia Campos + + * backend/djvu/djvu-text-page.c: (djvu_text_page_limits): + * shell/ev-window.c: (image_save_dialog_response_cb): + + Fix compile warnings due to unused variables. + 2008-01-13 Carlos Garcia Campos * configure.ac: diff --git a/backend/djvu/djvu-text-page.c b/backend/djvu/djvu-text-page.c index e2607dfe..f0b28094 100644 --- a/backend/djvu/djvu-text-page.c +++ b/backend/djvu/djvu-text-page.c @@ -123,8 +123,6 @@ djvu_text_page_limits (DjvuTextPage *page, miniexp_t p, EvRectangle *rect) { - char *token_text; - g_return_if_fail (miniexp_consp (p) && miniexp_symbolp (miniexp_car (p))); diff --git a/shell/ev-window.c b/shell/ev-window.c index a9d7bdc0..6e28d9c5 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -5045,8 +5045,7 @@ image_save_dialog_response_cb (GtkWidget *fc, static void ev_view_popup_cmd_save_image_as (GtkAction *action, EvWindow *window) { - GtkWidget *fc, *format_chooser; - GtkFileFilter *filter; + GtkWidget *fc, *format_chooser; if (!window->priv->image) return; -- 2.43.5