From 7ffcbc3d01bb58a071d56f5e7379948c579f634a Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Tue, 27 Mar 2012 00:22:33 +0200 Subject: [PATCH] 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. --- uip/mhlist.c | 2 +- uip/mhshow.c | 2 +- uip/mhstore.c | 2 +- uip/mhtest.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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 { /* -- 1.7.10.4