summaryrefslogtreecommitdiffstats
path: root/Src/Zle
diff options
context:
space:
mode:
authordana <dana@dana.is>2025-05-10 23:21:48 -0500
committerdana <dana@dana.is>2025-11-16 12:56:59 -0600
commita324ce344b5c57c4dc87c911e32ede7a586bd98d (patch)
tree9d97586491adca05705e07110e72ab81d64da47c /Src/Zle
parent53577: _git: improve max-verbose, other descriptions (diff)
downloadzsh-a324ce344b5c57c4dc87c911e32ede7a586bd98d.tar
zsh-a324ce344b5c57c4dc87c911e32ede7a586bd98d.tar.gz
zsh-a324ce344b5c57c4dc87c911e32ede7a586bd98d.tar.bz2
zsh-a324ce344b5c57c4dc87c911e32ede7a586bd98d.tar.lz
zsh-a324ce344b5c57c4dc87c911e32ede7a586bd98d.tar.xz
zsh-a324ce344b5c57c4dc87c911e32ede7a586bd98d.tar.zst
zsh-a324ce344b5c57c4dc87c911e32ede7a586bd98d.zip
53578 (tweaked): silence gcc warnings
addresses -Wmaybe-uninitialized and (spurious) -Wformat-overflow warnings omitted the change for zle_refresh.c since it was caught in w/54036
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/computil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c
index 6ac458c91..280e1dbd8 100644
--- a/Src/Zle/computil.c
+++ b/Src/Zle/computil.c
@@ -1841,7 +1841,7 @@ ca_inactive(Cadef d, char **xor, int cur, int opts)
for (; (x = (opts ? "-" : *xor)); xor++) {
int excludeall = 0;
char *grp = NULL;
- size_t grplen;
+ size_t grplen = 0;
char *next, *sep = x;
while (*sep != '+' && *sep != '-' && *sep != ':' && *sep != '*' && !idigit(*sep)) {