The result from the call to parse_mime() was ignored.
authormarkus schnalke <meillo@marmaro.de>
Mon, 26 Mar 2012 22:22:33 +0000 (00:22 +0200)
committermarkus schnalke <meillo@marmaro.de>
Mon, 26 Mar 2012 22:22:33 +0000 (00:22 +0200)
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
uip/mhshow.c
uip/mhstore.c
uip/mhtest.c

index a06a678..fc8b751 100644 (file)
@@ -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 {
                /*
index 6d91e59..ebbd8ec 100644 (file)
@@ -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 {
                /*
index 1c4cee6..377e8dc 100644 (file)
@@ -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 {
                /*
index f6c14fb..dc38126 100644 (file)
@@ -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 {
                /*