From: markus schnalke Date: Mon, 26 Mar 2012 22:22:33 +0000 (+0200) Subject: The result from the call to parse_mime() was ignored. X-Git-Tag: mmh-thesis-end~171 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=7ffcbc3d01bb58a071d56f5e7379948c579f634a;p=mmh The result from the call to parse_mime() was ignored. Detected by `gcc -Wempty-body'. It has been that way since the beginning of history and was probably of no consequence, but fixed anyway. Merged from nmh. Thanks to David Levine. --- diff --git a/uip/mhlist.c b/uip/mhlist.c index a06a678..fc8b751 100644 --- a/uip/mhlist.c +++ b/uip/mhlist.c @@ -275,7 +275,7 @@ do_cache: adios(NULL, "out of memory"); ctp = cts; - if ((ct = parse_mime(file))); + if ((ct = parse_mime(file))) *ctp++ = ct; } else { /* diff --git a/uip/mhshow.c b/uip/mhshow.c index 6d91e59..ebbd8ec 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -299,7 +299,7 @@ do_cache: adios(NULL, "out of memory"); ctp = cts; - if ((ct = parse_mime(file))); + if ((ct = parse_mime(file))) *ctp++ = ct; } else { /* diff --git a/uip/mhstore.c b/uip/mhstore.c index 1c4cee6..377e8dc 100644 --- a/uip/mhstore.c +++ b/uip/mhstore.c @@ -331,7 +331,7 @@ do_cache: adios(NULL, "out of memory"); ctp = cts; - if ((ct = parse_mime(file))); + if ((ct = parse_mime(file))) *ctp++ = ct; } else { /* diff --git a/uip/mhtest.c b/uip/mhtest.c index f6c14fb..dc38126 100644 --- a/uip/mhtest.c +++ b/uip/mhtest.c @@ -267,7 +267,7 @@ do_cache: adios(NULL, "out of memory"); ctp = cts; - if ((ct = parse_mime(file))); + if ((ct = parse_mime(file))) *ctp++ = ct; } else { /*