diff options
author | Jun T <takimoto-j@kba.biglobe.ne.jp> | 2014-10-29 08:48:17 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2014-10-29 08:48:17 -0700 |
commit | d36421d3769c964e6edfb700f03ef48cbe7af4e9 (patch) | |
tree | adb58b80b9a4be7fe240027d78d09abc0aca67f1 /Src/Modules/zselect.c | |
parent | 691547cda60f0512c645e80246292936e660f326 (diff) | |
download | zsh-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.c | 2 |
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); |