]> diplodocus.org Git - nmh/commitdiff
Add ZERO(p) for the typical memset(p, 0, sizeof *p) dance.
authorRalph Corderoy <ralph@inputplus.co.uk>
Mon, 21 Aug 2017 10:09:02 +0000 (11:09 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Tue, 22 Aug 2017 10:51:14 +0000 (11:51 +0100)
Also seen as memset(&foo->bar_xyzzy, 0, sizeof foo->bar_xyzzy).  I find
it tedious to keep checking the parameters are in agreement when reading
the code.


No differences found