]> diplodocus.org Git - nmh/commitdiff
Replace `(char *)0' et al with `NULL'.
authorRalph Corderoy <ralph@inputplus.co.uk>
Wed, 19 Oct 2016 22:27:12 +0000 (23:27 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Wed, 19 Oct 2016 22:27:12 +0000 (23:27 +0100)
None of them are vararg parameters.

sbr/folder_addmsg.c

index c1e836c176b29edbd8a1ba9f62d9ca084dc61949..f6a9af330ed38eba7d91cea486567acd9152b21d 100644 (file)
@@ -134,7 +134,7 @@ folder_addmsg (struct msgs **mpp, char *msgfile, int selected,
                (void)ext_hook("ref-hook", oldmsg, newmsg);
            }
            else
                (void)ext_hook("ref-hook", oldmsg, newmsg);
            }
            else
-               (void)ext_hook("add-hook", newmsg, (char *)0);
+               (void)ext_hook("add-hook", newmsg, NULL);
 
            return msgnum;
        } else {
 
            return msgnum;
        } else {
@@ -191,7 +191,7 @@ folder_addmsg (struct msgs **mpp, char *msgfile, int selected,
                        (void)ext_hook("ref-hook", oldmsg, newmsg);
                    }
                    else
                        (void)ext_hook("ref-hook", oldmsg, newmsg);
                    }
                    else
-                       (void)ext_hook("add-hook", newmsg, (char *)0);
+                       (void)ext_hook("add-hook", newmsg, NULL);
 
                    return msgnum;
                }
 
                    return msgnum;
                }