aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-03-28 08:13:46 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-03-28 08:13:46 +0800
commit777f8cf10f5c50235cb0c1c7f842fd2e22cfeb4d (patch)
tree5b5cbf19fed8612dc04067bcf39d8896181d410c /camel/camel-mime-part.c
parentce898884dcd53eb2f98b56c4ffcd678c72b24eaf (diff)
downloadgsoc2013-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/camel-mime-part.c')
-rw-r--r--camel/camel-mime-part.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c
index 0a696ed1e9..78cdb9c6b7 100644
--- a/camel/camel-mime-part.c
+++ b/camel/camel-mime-part.c
@@ -632,11 +632,8 @@ write_to_stream(CamelDataWrapper *data_wrapper, CamelStream *stream)
d(printf("mime_part::write_to_stream\n"));
/* FIXME: something needs to be done about this ... */
- /* FIXME: need to count these bytes too */
-#ifndef NO_WARNINGS
-#warning content-languages should be stored as a header
-#endif
-
+ /* TODO: content-languages header? */
+
if (mp->headers) {
struct _header_raw *h = mp->headers;
char *val;
@@ -800,10 +797,6 @@ construct_from_parser(CamelMimePart *dw, CamelMimeParser *mp)
}
d(printf("mime_part::construct_from_parser() leaving\n"));
-#ifndef NO_WARNINGS
-#warning "Need to work out how to detect a (fatally) bad parse in the parser"
-#endif
-
err = camel_mime_parser_errno(mp);
if (err != 0) {
errno = err;