]> diplodocus.org Git - nmh/commitdiff
Hoick FENDNULL(key) out of the search loop.
authorRalph Corderoy <ralph@inputplus.co.uk>
Tue, 12 Sep 2017 14:02:41 +0000 (15:02 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Tue, 12 Sep 2017 14:13:26 +0000 (15:13 +0100)
`key' is a loop-invariant so can be tested for NULL once before the
loop.  In one case, this also avoid passing NULL to printf(3) for "%s",
and means getcpy()s can be replaced with mh_xstrdup()s.


No differences found