summaryrefslogtreecommitdiffstats
path: root/Src/Zle/compctl.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2014-09-30 09:58:19 +0100
committerPeter Stephenson <pws@zsh.org>2014-09-30 09:58:19 +0100
commit15222bcdcb3fddd897117ac08ed18d206fa383d1 (patch)
tree20d885821ef008855ea0db22bffb9351e345c8d2 /Src/Zle/compctl.c
parentMerge branch 'master' of git://git.code.sf.net/p/zsh/code (diff)
downloadzsh-15222bcdcb3fddd897117ac08ed18d206fa383d1.tar
zsh-15222bcdcb3fddd897117ac08ed18d206fa383d1.tar.gz
zsh-15222bcdcb3fddd897117ac08ed18d206fa383d1.tar.bz2
zsh-15222bcdcb3fddd897117ac08ed18d206fa383d1.tar.lz
zsh-15222bcdcb3fddd897117ac08ed18d206fa383d1.tar.xz
zsh-15222bcdcb3fddd897117ac08ed18d206fa383d1.tar.zst
zsh-15222bcdcb3fddd897117ac08ed18d206fa383d1.zip
Fix some compiler warnings in Zle
Diffstat (limited to 'Src/Zle/compctl.c')
-rw-r--r--Src/Zle/compctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/compctl.c b/Src/Zle/compctl.c
index 52b9e9c82..0b7a32445 100644
--- a/Src/Zle/compctl.c
+++ b/Src/Zle/compctl.c
@@ -3416,7 +3416,7 @@ makecomplistflags(Compctl cc, char *s, int incmd, int compadd)
*npp++ = tp;
pp++;
}
- *npp = '\0';
+ *npp = NULL;
}
}
if (!dirs) {