mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-05-21 12:01:54 +02:00
unposted: remove unused variable to silence compiler warning
This commit is contained in:
parent
fe276d3873
commit
8e622c25b2
2 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
2024-01-28 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* unposted: Src/Modules/zutil.c: remove unused variable to silence
|
||||
compiler warning
|
||||
|
||||
* Jörg Sommer: 52442: Src/zsh.h: Mark hookdef.name as const
|
||||
|
||||
* Jörg Sommer: 52444: Src/module.c: Mark name argument of some
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue