diff options
author | Michael Zucci <zucchi@src.gnome.org> | 2004-03-04 20:04:15 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-03-04 20:04:15 +0800 |
commit | b30d1ba7e71e64a81f5b5ba80c8ac66e6bbf929b (patch) | |
tree | d0ccadfd2f052484626a61720b512b600a84c607 /camel | |
parent | 7716402b907cf728dd11876cba4a4119bc4cb441 (diff) | |
download | gsoc2013-evolution-b30d1ba7e71e64a81f5b5ba80c8ac66e6bbf929b.tar gsoc2013-evolution-b30d1ba7e71e64a81f5b5ba80c8ac66e6bbf929b.tar.gz gsoc2013-evolution-b30d1ba7e71e64a81f5b5ba80c8ac66e6bbf929b.tar.bz2 gsoc2013-evolution-b30d1ba7e71e64a81f5b5ba80c8ac66e6bbf929b.tar.lz gsoc2013-evolution-b30d1ba7e71e64a81f5b5ba80c8ac66e6bbf929b.tar.xz gsoc2013-evolution-b30d1ba7e71e64a81f5b5ba80c8ac66e6bbf929b.tar.zst gsoc2013-evolution-b30d1ba7e71e64a81f5b5ba80c8ac66e6bbf929b.zip |
fix all the warnings
svn path=/trunk/; revision=24962
Diffstat (limited to 'camel')
-rw-r--r-- | camel/providers/imapp/camel-imapp-driver.c | 3 | ||||
-rw-r--r-- | camel/providers/imapp/camel-imapp-engine.c | 6 | ||||
-rw-r--r-- | camel/providers/imapp/camel-imapp-folder.c | 3 | ||||
-rw-r--r-- | camel/providers/imapp/camel-imapp-provider.c | 2 | ||||
-rw-r--r-- | camel/providers/imapp/camel-imapp-store.c | 4 |
5 files changed, 10 insertions, 8 deletions
diff --git a/camel/providers/imapp/camel-imapp-driver.c b/camel/providers/imapp/camel-imapp-driver.c index 106e98fbb3..0e666c46bd 100644 --- a/camel/providers/imapp/camel-imapp-driver.c +++ b/camel/providers/imapp/camel-imapp-driver.c @@ -153,7 +153,6 @@ camel_imapp_driver_login(CamelIMAPPDriver *id) void camel_imapp_driver_select(CamelIMAPPDriver *id, struct _CamelIMAPPFolder *folder) { - CamelIMAPPSelectResponse *sr; CamelIMAPPCommand * volatile ic = NULL; CamelIMAPPCommand * volatile ic2 = NULL; guint32 count; @@ -404,8 +403,6 @@ camel_imapp_driver_sync(CamelIMAPPDriver *id, gboolean expunge, CamelIMAPPFolder /* success (no exception), make sure we match what we're supposed to */ for (i=0;i<count;i++) { - guint32 flags, sflags; - info = (CamelIMAPPMessageInfo *)camel_folder_summary_index(summary, i); if (info == NULL) continue; diff --git a/camel/providers/imapp/camel-imapp-engine.c b/camel/providers/imapp/camel-imapp-engine.c index df14903c5a..798fb3161c 100644 --- a/camel/providers/imapp/camel-imapp-engine.c +++ b/camel/providers/imapp/camel-imapp-engine.c @@ -438,7 +438,7 @@ iterate_untagged(CamelIMAPPEngine *imap) /* handle any continuation requests either data continuations, or auth continuation */ -int +static int iterate_continuation(CamelIMAPPEngine *imap) { CamelIMAPPCommand *ic; @@ -520,7 +520,7 @@ iterate_continuation(CamelIMAPPEngine *imap) } /* handle a completion line */ -int +static int iterate_completion(CamelIMAPPEngine *imap, unsigned char *token) { CamelIMAPPCommand *ic; @@ -910,6 +910,7 @@ imap_engine_command_add_part(CamelIMAPPEngine *imap, CamelIMAPPCommand *ic, came e_dlist_addtail(&ic->parts, (EDListNode *)cp); } +#if c(!)0 static int len(EDList *list) { int count = 0; @@ -921,6 +922,7 @@ static int len(EDList *list) } return count; } +#endif static void imap_engine_command_complete(CamelIMAPPEngine *imap, CamelIMAPPCommand *ic) diff --git a/camel/providers/imapp/camel-imapp-folder.c b/camel/providers/imapp/camel-imapp-folder.c index 967ab541f6..aed7534afe 100644 --- a/camel/providers/imapp/camel-imapp-folder.c +++ b/camel/providers/imapp/camel-imapp-folder.c @@ -148,6 +148,8 @@ camel_imapp_folder_new(CamelStore *store, const char *path) return folder; } +#if 0 +/* experimental interfaces */ void camel_imapp_folder_open(CamelIMAPPFolder *folder, CamelException *ex) { @@ -168,6 +170,7 @@ void camel_imapp_folder_close(CamelIMAPPFolder *folder, CamelException *ex) { } +#endif static void imap_refresh_info (CamelFolder *folder, CamelException *ex) diff --git a/camel/providers/imapp/camel-imapp-provider.c b/camel/providers/imapp/camel-imapp-provider.c index bdf33ec1da..b8d6e53374 100644 --- a/camel/providers/imapp/camel-imapp-provider.c +++ b/camel/providers/imapp/camel-imapp-provider.c @@ -71,6 +71,8 @@ CamelServiceAuthType camel_imapp_password_authtype = { TRUE }; +void camel_imapp_module_init(void); + void camel_imapp_module_init(void) { diff --git a/camel/providers/imapp/camel-imapp-store.c b/camel/providers/imapp/camel-imapp-store.c index 5acb5788f5..50c5c4db8b 100644 --- a/camel/providers/imapp/camel-imapp-store.c +++ b/camel/providers/imapp/camel-imapp-store.c @@ -80,8 +80,6 @@ static void imap_delete_folder(CamelStore *store, const char *folder_name, Camel static void imap_rename_folder(CamelStore *store, const char *old, const char *new, CamelException *ex); static CamelFolderInfo *imap_create_folder(CamelStore *store, const char *parent_name, const char *folder_name, CamelException *ex); -static int store_resp_list(CamelIMAPPEngine *ie, guint32 id, void *data); - /* yet to see if this should go global or not */ void camel_imapp_store_folder_selected(CamelIMAPPStore *store, CamelIMAPPFolder *folder, CamelIMAPPSelectResponse *select); @@ -113,7 +111,7 @@ camel_imapp_store_class_init (CamelIMAPPStoreClass *camel_imapp_store_class) static void camel_imapp_store_init (gpointer object, gpointer klass) { - CamelIMAPPStore *istore = object; + /*CamelIMAPPStore *istore = object;*/ } CamelType |