From: Ralph Corderoy Date: Tue, 12 Sep 2017 14:02:41 +0000 (+0100) Subject: Hoick FENDNULL(key) out of the search loop. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/459c5e3d66287e314dff8543df32c6c14a8464c6?ds=sidebyside;hp=459c5e3d66287e314dff8543df32c6c14a8464c6 Hoick FENDNULL(key) out of the search loop. `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. ---