mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-10 12:40:58 +02:00
29462: fix warning
This commit is contained in:
parent
7598220496
commit
03b0edaa63
2 changed files with 7 additions and 2 deletions
|
@ -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>
|
2011-06-05 Clint Adams <clint@zsh.org>
|
||||||
|
|
||||||
* unposted: Functions/Zle/move-line-in-buffer: clean
|
* unposted: Functions/Zle/move-line-in-buffer: clean
|
||||||
|
@ -14970,5 +14975,5 @@
|
||||||
|
|
||||||
*****************************************************
|
*****************************************************
|
||||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||||
* $Revision: 1.5364 $
|
* $Revision: 1.5365 $
|
||||||
*****************************************************
|
*****************************************************
|
||||||
|
|
|
@ -2848,7 +2848,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int ssub)
|
||||||
char *check_offset = check_colon_subscript(s, &check_offset2);
|
char *check_offset = check_colon_subscript(s, &check_offset2);
|
||||||
if (check_offset) {
|
if (check_offset) {
|
||||||
zlong offset = mathevali(check_offset);
|
zlong offset = mathevali(check_offset);
|
||||||
zlong length;
|
zlong length = 0;
|
||||||
int length_set = 0;
|
int length_set = 0;
|
||||||
int offset_hack_argzero = 0;
|
int offset_hack_argzero = 0;
|
||||||
if (errflag)
|
if (errflag)
|
||||||
|
|
Loading…
Reference in a new issue