diff options
author | Not Zed <NotZed@Ximian.com> | 2003-03-28 08:13:46 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-03-28 08:13:46 +0800 |
commit | 777f8cf10f5c50235cb0c1c7f842fd2e22cfeb4d (patch) | |
tree | 5b5cbf19fed8612dc04067bcf39d8896181d410c /camel/providers | |
parent | ce898884dcd53eb2f98b56c4ffcd678c72b24eaf (diff) | |
download | gsoc2013-evolution-777f8cf10f5c50235cb0c1c7f842fd2e22cfeb4d.tar.gz gsoc2013-evolution-777f8cf10f5c50235cb0c1c7f842fd2e22cfeb4d.tar.zst gsoc2013-evolution-777f8cf10f5c50235cb0c1c7f842fd2e22cfeb4d.zip |
remove unused var.
2003-03-28 Not Zed <NotZed@Ximian.com>
* providers/local/camel-spool-store.c (get_folder): remove unused
var.
* providers/imap/camel-imap-utils.c (imap_parse_list_response):
moved an unused var to the #if 0'd out block.
* providers/imap/camel-imap-store.c
(parse_list_response_as_folder_info): remove unused vars.
* camel-index-control.c (main): deifne camel_init() before using
it.
* camel-vee-store.c (vee_get_folder): removed unused var.
* camel-stream-mem.c (stream_write): warning -> fixme.
* camel-stream-filter.c (_CamelStreamFilterPrivate): Add a ; to
the end of the struct definition.
* camel-store.c (camel_store_delete_folder): remove unused var.
(camel_store_rename_folder): "
(camel_store_unsubscribe_folder): "
* camel-mime-part.c (write_to_stream): Changed warning into a
TODO.
(construct_from_parser): removed warning, the code was fixed.
* camel-mime-message.c (construct_from_parser): Remove the
warning, the code was fixed.
* camel-mime-filter-enriched.c (camel_mime_filter_enriched_new):
Remove unused var.
* camel-medium.c (camel_medium_get_header): Removed warning, and
changed docs to reflect it.
* camel-gpg-context.c (gpg_ctx_parse_status): handle MODE_EXPORT
as a noop (warning).
* camel-folder.c (get_message_user_tag): changed a warning into a
fixme (its not that important).
(camel_folder_get_message_user_tag): "
* camel-data-cache.c (data_cache_finalise): removed unused vars.
(data_cache_expire): "
svn path=/trunk/; revision=20556
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 4 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-utils.c | 4 | ||||
-rw-r--r-- | camel/providers/local/camel-spool-store.c | 1 |
3 files changed, 5 insertions, 4 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index 9b7ddaf180..7004b7d6a7 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -1951,8 +1951,8 @@ parse_list_response_as_folder_info (CamelImapStore *imap_store, const char *response) { CamelFolderInfo *fi; - int flags, i; - char sep, *dir, *name = NULL, *path; + int flags; + char sep, *dir; CamelURL *url; CamelImapStoreInfo *si; guint32 newflags; diff --git a/camel/providers/imap/camel-imap-utils.c b/camel/providers/imap/camel-imap-utils.c index 7ec152afa7..8a089da7bf 100644 --- a/camel/providers/imap/camel-imap-utils.c +++ b/camel/providers/imap/camel-imap-utils.c @@ -362,7 +362,7 @@ imap_parse_list_response (CamelImapStore *store, const char *buf, int *flags, ch return FALSE; if (folder) { - char *astring, *mailbox; + char *astring; /* get the folder name */ word = imap_next_word (word); @@ -372,6 +372,8 @@ imap_parse_list_response (CamelImapStore *store, const char *buf, int *flags, ch *folder = astring; #if 0 + char *mailbox; + mailbox = imap_mailbox_decode (astring, strlen (astring)); g_free (astring); if (!mailbox) diff --git a/camel/providers/local/camel-spool-store.c b/camel/providers/local/camel-spool-store.c index f1f264f94a..09720e4a01 100644 --- a/camel/providers/local/camel-spool-store.c +++ b/camel/providers/local/camel-spool-store.c @@ -141,7 +141,6 @@ static CamelFolder * get_folder(CamelStore * store, const char *folder_name, guint32 flags, CamelException * ex) { CamelFolder *folder = NULL; - int fd; struct stat st; char *name; |