mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-07 11:41:16 +02:00
33566: quash null pointer constant compiler warning
This commit is contained in:
parent
691547cda6
commit
d36421d376
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
2014-10-29 Barton E. Schaefer <schaefer@zsh.org>
|
2014-10-29 Barton E. Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
|
* 33566: Jun T.: Src/Modules/zselect.c: quash compiler warning
|
||||||
|
|
||||||
* 33563: Completion/Base/Core/_main_complete, Src/Zle/complist.c:
|
* 33563: Completion/Base/Core/_main_complete, Src/Zle/complist.c:
|
||||||
fix thinko in status message for INT/QUIT signals; check errflag
|
fix thinko in status message for INT/QUIT signals; check errflag
|
||||||
in output loops so that unexpectedly long completion listings can
|
in output loops so that unexpectedly long completion listings can
|
||||||
|
|
|
@ -251,7 +251,7 @@ bin_zselect(char *nam, char **args, UNUSED(Options ops), UNUSED(int func))
|
||||||
outptr = outdata = (char **)zalloc((fdcount+1)*sizeof(char *));
|
outptr = outdata = (char **)zalloc((fdcount+1)*sizeof(char *));
|
||||||
while (nonempty(fdlist))
|
while (nonempty(fdlist))
|
||||||
*outptr++ = getlinknode(fdlist);
|
*outptr++ = getlinknode(fdlist);
|
||||||
*outptr = '\0';
|
*outptr = NULL;
|
||||||
/* and store in array parameter */
|
/* and store in array parameter */
|
||||||
if (outhash)
|
if (outhash)
|
||||||
sethparam(outhash, outdata);
|
sethparam(outhash, outdata);
|
||||||
|
|
Loading…
Reference in a new issue