about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2021-04-04 14:48:01 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2021-04-04 14:48:01 +0900
commit94b5446838c4c57bd9bab8a410595cf7e81e51fc (patch)
tree2a979ded500719e1b5fd25a28ade3f645ce96810 /Src
parent7a81e6344f233f8f8c3863f0835277582fb7de58 (diff)
downloadzsh-94b5446838c4c57bd9bab8a410595cf7e81e51fc.tar.gz
zsh-94b5446838c4c57bd9bab8a410595cf7e81e51fc.tar.xz
zsh-94b5446838c4c57bd9bab8a410595cf7e81e51fc.zip
47784: silence a compiler waring from pattern.c
Diffstat (limited to 'Src')
-rw-r--r--Src/pattern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/pattern.c b/Src/pattern.c
index c7c2c8bea..c28f2c9fb 100644
--- a/Src/pattern.c
+++ b/Src/pattern.c
@@ -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;