Removed void casts for ignored return values of function calls.
[mmh] / sbr / folder_delmsgs.c
index ac93068..e9257bd 100644 (file)
@@ -92,8 +92,9 @@ folder_delmsgs(struct msgs *mp, int unlink_msgs, int nohook)
                        */
 
                        if (!nohook) {
-                               (void)snprintf(msgpath, sizeof (msgpath), "%s/%d", mp->foldpath, msgnum);
-                               (void)ext_hook("del-hook", msgpath, (char *)0);
+                               snprintf(msgpath, sizeof (msgpath), "%s/%d",
+                                               mp->foldpath, msgnum);
+                               ext_hook("del-hook", msgpath, (char *)0);
                        }
 
                        dp = m_name(msgnum);