evolution r36067 - branches/mail-dbus-remoting/mail
- From: psankar svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r36067 - branches/mail-dbus-remoting/mail
- Date: Tue, 26 Aug 2008 05:15:30 +0000 (UTC)
Author: psankar
Date: Tue Aug 26 05:15:29 2008
New Revision: 36067
URL: http://svn.gnome.org/viewvc/evolution?rev=36067&view=rev
Log:
Compiler warnings
Modified:
branches/mail-dbus-remoting/mail/camel-store-remote-impl.c
Modified: branches/mail-dbus-remoting/mail/camel-store-remote-impl.c
==============================================================================
--- branches/mail-dbus-remoting/mail/camel-store-remote-impl.c (original)
+++ branches/mail-dbus-remoting/mail/camel-store-remote-impl.c Tue Aug 26 05:15:29 2008
@@ -32,9 +32,9 @@
DBusMessage * reply)
{
CamelException *ex;
- CamelFolder *folder;
+ CamelFolder *folder = NULL;
CamelStore *store;
- char *err, *folder_hash_key, *store_hash_key;
+ char *err, *folder_hash_key = NULL, *store_hash_key;
int ret = dbus_message_get_args(message,
NULL,
@@ -52,7 +52,7 @@
return -1;
}
- camel_exception_init(ex);
+ ex = camel_exception_new ();
if (g_str_has_suffix(method, "inbox"))
folder = camel_store_get_inbox(store, ex);
@@ -103,7 +103,7 @@
CamelException *ex;
CamelFolder *folder;
CamelStore *store;
- char *err, *folder_hash_key, *store_hash_key, *folder_name;
+ char *err, *folder_hash_key = NULL, *store_hash_key, *folder_name;
int ret = dbus_message_get_args(message,
NULL,
@@ -125,7 +125,7 @@
goto fail;
}
- camel_exception_init(ex);
+ ex = camel_exception_new ();
folder = camel_store_get_folder(store, folder_name, flags, ex);
if (!folder) {
err = g_strdup(camel_exception_get_description(ex));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]