1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-10 12:40:58 +02:00

Compiler warnings.

This commit is contained in:
Bart Schaefer 2001-06-19 15:46:53 +00:00
parent 9b9e940117
commit 0672033cfc
2 changed files with 6 additions and 2 deletions

View file

@ -4,6 +4,10 @@
fix for reported problems on AIX 4.x. Still no feedback if it fix for reported problems on AIX 4.x. Still no feedback if it
finally works (or even compiles) finally works (or even compiles)
2001-06-18 Bart Schaefer <schaefer@zsh.org>
* 14965: Src/Zle/computil.c: Silence compiler warnings.
2001-06-18 Sven Wischnowsky <wischnow@zsh.org> 2001-06-18 Sven Wischnowsky <wischnow@zsh.org>
* 14962: Completion/Unix/Type/_path_files: make special-dirs * 14962: Completion/Unix/Type/_path_files: make special-dirs

View file

@ -2399,7 +2399,7 @@ cv_next(Cvdef d, char **sp, char **ap)
return r; return r;
} else if (d->hassep) { } 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; int skip = 0;
if (d->argsep && (as = strchr(s, d->argsep)) && (!ns || as <= ns)) { 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; return r;
} else { } else {
char *as = strchr(s, d->argsep), *sap, sav; char *as = strchr(s, d->argsep), *sap, sav = 0;
*sp = NULL; *sp = NULL;