X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=kwset.c;h=51b2ab6c7e61413851a958f7a4009a0194744b68;hb=5e8617f560968567c285bc2e9b0674f8f9d535cb;hp=956ae729501ed09b947eb33e161551beed2a1d95;hpb=3b425656a469722d9c45b7c88e0e01a9cd8c0fd3;p=git.git diff --git a/kwset.c b/kwset.c index 956ae7295..51b2ab6c7 100644 --- a/kwset.c +++ b/kwset.c @@ -674,7 +674,7 @@ cwexec (kwset_t kws, char const *text, size_t len, struct kwsmatch *kwsmatch) copy of the preceding main search loops. */ if (lim - mch > kwset->maxd) lim = mch + kwset->maxd; - lmch = 0; + lmch = NULL; d = 1; while (lim - end >= d) {