evolution-data-server r9209 - in trunk/camel/providers: imap local



Author: sragavan
Date: Mon Jul 28 09:51:37 2008
New Revision: 9209
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9209&view=rev

Log:
2008-07-28  Srinivasa Ragavan  <sragavan novell com>

	* camel/providers/imap/camel-imap-folder.c: Fix compiler warnings.
	* camel/providers/imap/camel-imap-message-cache.c:
	* camel/providers/imap/camel-imap-utils.c:
2008-07-28  Srinivasa Ragavan  <sragavan novell com>

	* camel/providers/local/camel-mbox-summary.c: Fix compiler warnings.


Modified:
   trunk/camel/providers/imap/ChangeLog
   trunk/camel/providers/imap/camel-imap-folder.c
   trunk/camel/providers/imap/camel-imap-message-cache.c
   trunk/camel/providers/imap/camel-imap-utils.c
   trunk/camel/providers/local/ChangeLog
   trunk/camel/providers/local/camel-mbox-summary.c

Modified: trunk/camel/providers/imap/camel-imap-folder.c
==============================================================================
--- trunk/camel/providers/imap/camel-imap-folder.c	(original)
+++ trunk/camel/providers/imap/camel-imap-folder.c	Mon Jul 28 09:51:37 2008
@@ -2885,7 +2885,7 @@
 	int i, seq, first, size, got;
 	CamelImapResponseType type;
 	GString *header_spec = NULL;
-	CamelImapMessageInfo *mi, *info;
+	CamelImapMessageInfo *mi;
 	CamelStream *stream;
 	char *uid, *resp, *tempuid;
 	GData *data;
@@ -3216,7 +3216,6 @@
 	CamelImapFolder *imap_folder = CAMEL_IMAP_FOLDER (folder);
 	extern int camel_application_is_exiting;
 	CamelFolderChangeInfo *changes;
-	CamelMessageInfo *info;
 	int len;
 	char *uid;
 

Modified: trunk/camel/providers/imap/camel-imap-message-cache.c
==============================================================================
--- trunk/camel/providers/imap/camel-imap-message-cache.c	(original)
+++ trunk/camel/providers/imap/camel-imap-message-cache.c	Mon Jul 28 09:51:37 2008
@@ -152,7 +152,6 @@
 	const char *dname;
 	char *uid, *p;
 	GPtrArray *deletes;
-	CamelMessageInfo *info;
 	GError *error = NULL;
 
 	dir = g_dir_open (path, 0, &error);

Modified: trunk/camel/providers/imap/camel-imap-utils.c
==============================================================================
--- trunk/camel/providers/imap/camel-imap-utils.c	(original)
+++ trunk/camel/providers/imap/camel-imap-utils.c	Mon Jul 28 09:51:37 2008
@@ -1177,7 +1177,6 @@
 static inline unsigned long
 get_summary_uid_numeric (CamelFolderSummary *summary, int index)
 {
-	CamelMessageInfo *info;
 	unsigned long uid;
 	char *suid;
 

Modified: trunk/camel/providers/local/camel-mbox-summary.c
==============================================================================
--- trunk/camel/providers/local/camel-mbox-summary.c	(original)
+++ trunk/camel/providers/local/camel-mbox-summary.c	Mon Jul 28 09:51:37 2008
@@ -775,7 +775,7 @@
 	CamelLocalSummary *cls = (CamelLocalSummary *)mbs;
 	CamelFolderSummary *s = (CamelFolderSummary *)mbs;
 	CamelMimeParser *mp = NULL;
-	int i, count;
+	int i;
 	CamelMboxMessageInfo *info = NULL;
 	int fd = -1, pfd;
 	char *xevnew, *xevtmp;
@@ -945,7 +945,7 @@
 		goto error;
 	}
 
-	g_ptr_array_foreach (summary, camel_pstring_free, NULL);
+	g_ptr_array_foreach (summary, (GFunc) camel_pstring_free, NULL);
 	g_ptr_array_free (summary, TRUE);
 	camel_object_unref((CamelObject *)mp);
 
@@ -953,7 +953,7 @@
 	
 	return 0;
  error:
-	g_ptr_array_foreach (summary, camel_pstring_free, NULL);
+	g_ptr_array_foreach (summary, (GFunc) camel_pstring_free, NULL);
 	g_ptr_array_free (summary, TRUE);	
 	if (fd != -1)
 		close(fd);
@@ -973,7 +973,7 @@
 	struct stat st;
 	CamelMboxSummary *mbs = (CamelMboxSummary *)cls;
 	CamelFolderSummary *s = (CamelFolderSummary *)cls;
-	int i, count;
+	int i;
 	int quick = TRUE, work=FALSE;
 	int ret;
 	GPtrArray *summary = NULL;
@@ -997,7 +997,7 @@
 		camel_message_info_free(info);		
 	}
 
-	g_ptr_array_foreach (summary, camel_pstring_free, NULL);
+	g_ptr_array_foreach (summary, (GFunc) camel_pstring_free, NULL);
 	g_ptr_array_free (summary, TRUE);
 	
 	if (quick && expunge) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]