mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-31 18:10:56 +01:00
Compiler warnings.
This commit is contained in:
parent
9b9e940117
commit
0672033cfc
2 changed files with 6 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue