summary refs log tree commit diff
path: root/Src/Modules/zselect.c
diff options
context:
space:
mode:
authorJun T <takimoto-j@kba.biglobe.ne.jp>2014-10-29 08:48:17 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2014-10-29 08:48:17 -0700
commitd36421d3769c964e6edfb700f03ef48cbe7af4e9 (patch)
treeadb58b80b9a4be7fe240027d78d09abc0aca67f1 /Src/Modules/zselect.c
parent691547cda60f0512c645e80246292936e660f326 (diff)
downloadzsh-d36421d3769c964e6edfb700f03ef48cbe7af4e9.tar.gz
zsh-d36421d3769c964e6edfb700f03ef48cbe7af4e9.tar.xz
zsh-d36421d3769c964e6edfb700f03ef48cbe7af4e9.zip
33566: quash null pointer constant compiler warning
Diffstat (limited to 'Src/Modules/zselect.c')
-rw-r--r--Src/Modules/zselect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/zselect.c b/Src/Modules/zselect.c
index c02074646..30a3f51a5 100644
--- a/Src/Modules/zselect.c
+++ b/Src/Modules/zselect.c
@@ -251,7 +251,7 @@ bin_zselect(char *nam, char **args, UNUSED(Options ops), UNUSED(int func))
     outptr = outdata = (char **)zalloc((fdcount+1)*sizeof(char *));
     while (nonempty(fdlist))
 	*outptr++ = getlinknode(fdlist);
-    *outptr = '\0';
+    *outptr = NULL;
     /* and store in array parameter */
     if (outhash)
 	sethparam(outhash, outdata);