diff options
| author | Oliver Kiddle <okiddle@yahoo.co.uk> | 2024-01-22 23:19:23 +0100 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2024-01-28 00:28:06 +0100 |
| commit | 8e622c25b24fb0b0d6e705fab97960351e123c65 (patch) | |
| tree | 9b96b7b0193aaf3448dde8777cf6d6a03f82c3a4 /Src/Modules/zutil.c | |
| parent | 52442: mark hookdef.name as const (diff) | |
| download | zsh-8e622c25b24fb0b0d6e705fab97960351e123c65.tar zsh-8e622c25b24fb0b0d6e705fab97960351e123c65.tar.gz zsh-8e622c25b24fb0b0d6e705fab97960351e123c65.tar.bz2 zsh-8e622c25b24fb0b0d6e705fab97960351e123c65.tar.lz zsh-8e622c25b24fb0b0d6e705fab97960351e123c65.tar.xz zsh-8e622c25b24fb0b0d6e705fab97960351e123c65.tar.zst zsh-8e622c25b24fb0b0d6e705fab97960351e123c65.zip | |
unposted: remove unused variable to silence compiler warning
Diffstat (limited to 'Src/Modules/zutil.c')
| -rw-r--r-- | Src/Modules/zutil.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Src/Modules/zutil.c b/Src/Modules/zutil.c index 293a62dcf..5eccea7a9 100644 --- a/Src/Modules/zutil.c +++ b/Src/Modules/zutil.c @@ -997,7 +997,7 @@ bin_zformat(char *nam, char **args, UNUSED(Options ops), UNUSED(int func)) case 'a': { char **ap, *cp; - int nbc = 0, colon = 0, pre = 0, suf = 0; + int nbc = 0, pre = 0, suf = 0; #ifdef MULTIBYTE_SUPPORT int prechars = 0; #endif /* MULTIBYTE_SUPPORT */ @@ -1012,7 +1012,6 @@ bin_zformat(char *nam, char **args, UNUSED(Options ops), UNUSED(int func)) int dchars = 0; #endif /* MULTIBYTE_SUPPORT */ - colon++; if ((d = cp - *ap - nbc) > pre) pre = d; #ifdef MULTIBYTE_SUPPORT |
