mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +02:00
47784: silence a compiler waring from pattern.c
This commit is contained in:
parent
7a81e6344f
commit
94b5446838
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2021-04-04 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||
|
||||
* Felipe Contreras: 47784: Src/pattern.c: silence compiler
|
||||
warning -Wmaybe-uninitialized
|
||||
|
||||
* Jacob Gelbman: 48218 (+ 48354): Completion/Unix/Command/_gcc:
|
||||
various improvements for _gcc
|
||||
|
||||
|
|
|
@ -1250,7 +1250,7 @@ patcomppiece(int *flagp, int paren)
|
|||
int hash, count;
|
||||
union upat up;
|
||||
char *nptr, *str0, *ptr, *patprev;
|
||||
zrange_t from, to;
|
||||
zrange_t from = 0, to;
|
||||
char *charstart;
|
||||
|
||||
flags = 0;
|
||||
|
|
Loading…
Reference in a new issue