about summary refs log tree commit diff
path: root/Src/Zle/computil.c
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-06-18 17:40:52 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-06-18 17:40:52 +0000
commitd1fa8106b43e1d7eac0fbbd4741a8fd7107914b2 (patch)
tree387f5de311b9e6ba48135a47793aad8eff6fc7f5 /Src/Zle/computil.c
parent619d2d4b64d807b12dc6e37482db76a4102c1f48 (diff)
downloadzsh-d1fa8106b43e1d7eac0fbbd4741a8fd7107914b2.tar.gz
zsh-d1fa8106b43e1d7eac0fbbd4741a8fd7107914b2.tar.xz
zsh-d1fa8106b43e1d7eac0fbbd4741a8fd7107914b2.zip
Merge assorted fixes from the development version.
Diffstat (limited to 'Src/Zle/computil.c')
-rw-r--r--Src/Zle/computil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c
index 4d795c815..9937e8215 100644
--- a/Src/Zle/computil.c
+++ b/Src/Zle/computil.c
@@ -2399,7 +2399,7 @@ cv_next(Cvdef d, char **sp, char **ap)
         return r;
 
     } else if (d->hassep) {
-        char *ns = strchr(s, d->sep), *as, *sap, sav;
+        char *ns = strchr(s, d->sep), *as = 0, *sap, sav = 0;
         int skip = 0;
 
         if (d->argsep && (as = strchr(s, d->argsep)) && (!ns || as <= ns)) {
@@ -2425,7 +2425,7 @@ cv_next(Cvdef d, char **sp, char **ap)
 
         return r;
     } else {
-        char *as = strchr(s, d->argsep), *sap, sav;
+        char *as = strchr(s, d->argsep), *sap, sav = 0;
 
         *sp = NULL;