]> git.marmaro.de Git - mmh/commitdiff
gcc -Wempty-body warned that the check of the result from the call to parse_mime...
authorDavid Levine <levinedl@acm.org>
Sun, 8 Jan 2012 19:46:47 +0000 (13:46 -0600)
committerDavid Levine <levinedl@acm.org>
Sun, 8 Jan 2012 19:46:47 +0000 (13:46 -0600)
uip/mhlist.c
uip/mhn.c
uip/mhshow.c
uip/mhstore.c
uip/mhtest.c

index 6ef455d1a8567127582939336de85eeb31ff32bf..d6986684aec6ece4b049daa7b165e4d7210efe0b 100644 (file)
@@ -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 {
        /*
index 2ce21d37de09120b3c666b535b45b51aa7127793..fe728f933abef9d97da4898a1dcfc55473bd7bb4 100644 (file)
--- 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 {
        /*
index 722dcf62e4b7103e3981522f1592ff9756e77136..4667e34cf07531f4b62aa01cda8c994808cfd33e 100644 (file)
@@ -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 {
        /*
index 5bc8daaf1de76abc15f832402f4697005763670b..ff7724cd3d5c8de037684251037400c8fd6aa0a9 100644 (file)
@@ -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 {
        /*
index 022f6c4ccc71c57e5f612347aabd00b36946ce99..c884ffed46517a4635ffa5ae17ffbff47eedeade 100644 (file)
@@ -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 {
        /*