From ac902006634443021aed5bc217af74911bde8e65 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sun, 23 Apr 2000 17:17:31 +0000 Subject: fix some obvious minor bugs noted by -Wall. * camel-mime-utils.c (header_to_decode, header_mime_decode): fix some obvious minor bugs noted by -Wall. svn path=/trunk/; revision=2563 --- camel/ChangeLog | 5 +++++ camel/camel-mime-utils.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index 57def807c2..e49dbb06e1 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +2000-04-23 Dan Winship + + * camel-mime-utils.c (header_to_decode, header_mime_decode): fix + some obvious minor bugs noted by -Wall. + 2000-04-23 NotZed * camel-data-wrapper.c (set_mime_type_field): Ref the diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c index 25970e58a0..f9e2389fee 100644 --- a/camel/camel-mime-utils.c +++ b/camel/camel-mime-utils.c @@ -1491,7 +1491,7 @@ header_to_decode(const char *in) #warning header_to_decode needs to return some structure if (in == NULL) - return NULL; + return; do { last = inptr; @@ -1523,7 +1523,7 @@ header_mime_decode(const char *in) #warning header_mime_decode needs to return the version if (in == NULL) - return NULL; + return; header_decode_lwsp(&inptr); if (isdigit(*inptr)) { -- cgit