diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Src/Zle/compctl.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index c31520b69..489d6f858 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2015-01-06 Mikael Magnusson <mikachu@gmail.com> + * 34104: Src/Zle/compctl.c: Remove pointless check + * 34115: Src/Zle/compcore.c: Fix size argument to zfree * 34117: Src/Zle/zle_utils.c: size_t is unsigned, use int instead diff --git a/Src/Zle/compctl.c b/Src/Zle/compctl.c index d15c2d1b0..96ad6a280 100644 --- a/Src/Zle/compctl.c +++ b/Src/Zle/compctl.c @@ -1515,7 +1515,7 @@ printcompctl(char *s, Compctl cc, int printflags, int ispat) if (cclist & COMP_LIST) printf(" --"); } - if (cc && cc->xor) { + if (cc->xor) { /* print xor'd (+) completions */ printf(" +"); if (cc->xor != &cc_default) |