Fixed warning

svn path=/trunk/; revision=25846
This commit is contained in:
David Malcolm
2004-05-10 19:27:21 +00:00
parent af7a39fcd9
commit ee8a9bc3e8
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2004-05-10 David Malcolm <dmalcolm@redhat.com>
* e-shell-offline-handler.c (cancel_offline): Fix warning
2004-05-10 JP Rosevear <jpr@ximian.com>
* main.c (show_development_warning): set title to just Evolution

View File

@ -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);
}