Removed void casts for ignored return values of function calls.
[mmh] / sbr / folder_pack.c
index 5280e30..cd588e4 100644 (file)
@@ -57,8 +57,10 @@ folder_pack(struct msgs **mpp, int verbose)
                                ** old message file is around for the hook.
                                */
 
-                               (void)snprintf(oldmsg, sizeof (oldmsg), "%s/%d", mp->foldpath, msgnum);
-                               (void)snprintf(newmsg, sizeof (newmsg), "%s/%d", mp->foldpath, hole);
+                               snprintf(oldmsg, sizeof (oldmsg), "%s/%d",
+                                               mp->foldpath, msgnum);
+                               snprintf(newmsg, sizeof (newmsg), "%s/%d",
+                                               mp->foldpath, hole);
                                ext_hook("ref-hook", oldmsg, newmsg);
 
                                /* move the message file */