From 1a0dcd0a540e3af64ff63d84839336bf8c85ec40 Mon Sep 17 00:00:00 2001 From: David Levine Date: Sun, 8 Jan 2012 13:46:47 -0600 Subject: [PATCH] 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. --- uip/mhlist.c | 2 +- uip/mhn.c | 2 +- uip/mhshow.c | 2 +- uip/mhstore.c | 2 +- uip/mhtest.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) 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 { /* -- 1.7.10.4