1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 10:41:11 +02:00

29462: fix warning

This commit is contained in:
Peter Stephenson 2011-06-06 09:08:21 +00:00
parent 7598220496
commit 03b0edaa63
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2011-06-06 Peter Stephenson <pws@csr.com>
* 29462: Src/subst.c: fix warning with some compilers (code was
already safe).
2011-06-05 Clint Adams <clint@zsh.org>
* unposted: Functions/Zle/move-line-in-buffer: clean
@ -14970,5 +14975,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5364 $
* $Revision: 1.5365 $
*****************************************************

View file

@ -2848,7 +2848,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int ssub)
char *check_offset = check_colon_subscript(s, &check_offset2);
if (check_offset) {
zlong offset = mathevali(check_offset);
zlong length;
zlong length = 0;
int length_set = 0;
int offset_hack_argzero = 0;
if (errflag)