aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-08-11 10:57:11 +0800
committerChris Lahey <clahey@src.gnome.org>2000-08-11 10:57:11 +0800
commit40eea3692e4afa02a9092f64c00e9348f562f68b (patch)
treea5de1982e43949eefeea75ab5a939a89690b32d4 /camel/camel-mime-part.c
parente8ee5b65d43775708361a1094d56ae7d20fbb5e7 (diff)
downloadgsoc2013-evolution-40eea3692e4afa02a9092f64c00e9348f562f68b.tar.gz
gsoc2013-evolution-40eea3692e4afa02a9092f64c00e9348f562f68b.tar.zst
gsoc2013-evolution-40eea3692e4afa02a9092f64c00e9348f562f68b.zip
Fixed some warnings.
2000-08-10 Christopher James Lahey <clahey@helixcode.com> * camel-folder-search.c, camel-folder-summary.c, camel-medium.c, camel-mime-filter-charset.c, camel-mime-filter.c, camel-mime-filter.h, camel-mime-message.c, camel-mime-parser.c, camel-mime-part-utils.c, camel-mime-part.c, camel-mime-utils.c, camel-movemail.c, camel-multipart.c, camel-object.c, camel-stream-mem.c, providers/mbox/camel-mbox-folder.c, providers/mbox/camel-mbox-summary.c, providers/mh/camel-mh-folder.c, providers/smtp/camel-smtp-transport.c: Fixed some warnings. svn path=/trunk/; revision=4719
Diffstat (limited to 'camel/camel-mime-part.c')
-rw-r--r--camel/camel-mime-part.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c
index 4112857667..f9519df5e4 100644
--- a/camel/camel-mime-part.c
+++ b/camel/camel-mime-part.c
@@ -477,7 +477,9 @@ write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream)
/* 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
if (mp->headers) {
struct _header_raw *h = mp->headers;
@@ -570,7 +572,9 @@ 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
return 0;
}