projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d190a08
)
sparse: Fix an "Using plain integer as NULL pointer" warning
author
Ramsay Jones
<ramsay@ramsay1.demon.co.uk>
Sun, 11 Sep 2011 19:25:48 +0000
(20:25 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 11 Sep 2011 21:43:14 +0000
(14:43 -0700)
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
kwset.c
patch
|
blob
|
history
diff --git
a/kwset.c
b/kwset.c
index 956ae729501ed09b947eb33e161551beed2a1d95..51b2ab6c7e61413851a958f7a4009a0194744b68 100644
(file)
--- 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)
{