From: David Levine Date: Sun, 8 Jan 2012 19:46:47 +0000 (-0600) Subject: gcc -Wempty-body warned that the check of the result from the call to parse_mime... X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=1a0dcd0a540e3af64ff63d84839336bf8c85ec40;p=mmh gcc -Wempty-body warned that the check of the result from the call to parse_mime() was ignored. It has been that way since the beginning of history and was probably of no consequence, but fixed anyway. --- diff --git a/uip/mhlist.c b/uip/mhlist.c index 6ef455d..d698668 100644 --- a/uip/mhlist.c +++ b/uip/mhlist.c @@ -280,7 +280,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/mhn.c b/uip/mhn.c index 2ce21d3..fe728f9 100644 --- a/uip/mhn.c +++ b/uip/mhn.c @@ -563,7 +563,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 722dcf6..4667e34 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -346,7 +346,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 5bc8daa..ff7724c 100644 --- a/uip/mhstore.c +++ b/uip/mhstore.c @@ -292,7 +292,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 022f6c4..c884ffe 100644 --- a/uip/mhtest.c +++ b/uip/mhtest.c @@ -271,7 +271,7 @@ do_cache: adios (NULL, "out of memory"); ctp = cts; - if ((ct = parse_mime (file))); + if ((ct = parse_mime (file))) *ctp++ = ct; } else { /*