From ee8a9bc3e88aaf0956591b744beafb0d6cb9a3cf Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Mon, 10 May 2004 19:27:21 +0000 Subject: Fixed warning svn path=/trunk/; revision=25846 --- shell/ChangeLog | 4 ++++ shell/e-shell-offline-handler.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index 7d09b2ffa0..d59e3bfc37 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,7 @@ +2004-05-10 David Malcolm + + * e-shell-offline-handler.c (cancel_offline): Fix warning + 2004-05-10 JP Rosevear * main.c (show_development_warning): set title to just Evolution diff --git a/shell/e-shell-offline-handler.c b/shell/e-shell-offline-handler.c index 52ff90d473..f99edf965d 100644 --- a/shell/e-shell-offline-handler.c +++ b/shell/e-shell-offline-handler.c @@ -372,7 +372,6 @@ cancel_offline (EShellOfflineHandler *offline_handler) EComponentInfo *info = p->data; GNOME_Evolution_Offline offline_interface; CORBA_Environment ev; - const char *id; offline_interface = get_offline_interface (info->iface); if (offline_interface == CORBA_OBJECT_NIL) @@ -382,7 +381,7 @@ cancel_offline (EShellOfflineHandler *offline_handler) GNOME_Evolution_Offline_goOnline (offline_interface, &ev); if (ev._major != CORBA_NO_EXCEPTION) - g_warning ("Error putting component `%s' on-line.", id); + g_warning ("Error putting component `%s' on-line.", info->id); CORBA_exception_free (&ev); } -- cgit v1.2.3