Removed void casts for ignored return values of function calls.
[mmh] / uip / burst.c
index ec50708..fc2f711 100644 (file)
@@ -363,13 +363,13 @@ burst(struct msgs **mpp, int msgnum, struct smsg *smsgs, int numburst,
                        if (rename(f1, f3) == NOTOK)
                                admonish(f3, "unable to rename %s to", f1);
 
-                       (void)snprintf(f3, sizeof (f3), "%s/%d", maildir, i);
+                       snprintf(f3, sizeof (f3), "%s/%d", maildir, i);
                        ext_hook("del-hook", f3, (char *)0);
                }
                if (rename(f2, f1) == NOTOK)
                        admonish(f1, "unable to rename %s to", f2);
 
-               (void)snprintf(f3, sizeof (f3), "%s/%d", maildir, i);
+               snprintf(f3, sizeof (f3), "%s/%d", maildir, i);
                ext_hook("add-hook", f3, (char *)0);
 
                copy_msg_flags(mp, i, msgnum);