From: Carlos Garcia Campos Date: Sun, 13 Jan 2008 11:47:11 +0000 (+0000) Subject: Fix compile warnings due to unused variables. X-Git-Tag: EVINCE_2_21_90~53 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=d559d4f3a9cdeb3c89b7b7bae0f1de08d23dcf02;p=evince.git 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 --- 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;