diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2015-02-26 20:59:18 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2015-02-26 20:59:18 +0000 |
commit | 362e1f078fadaff7a84bbeebc90b227eee19ecfc (patch) | |
tree | 158b6d18595ae8e851e67638aba81ddc6330d365 /bin/sh/expand.c | |
parent | 0a6344ff1a676002fbbbeb881cb7541448dd19b7 (diff) | |
download | FreeBSD-src-362e1f078fadaff7a84bbeebc90b227eee19ecfc.zip FreeBSD-src-362e1f078fadaff7a84bbeebc90b227eee19ecfc.tar.gz |
Fix unitialized variable that broke sh on PowerPC starting with r278826.
Diffstat (limited to 'bin/sh/expand.c')
-rw-r--r-- | bin/sh/expand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/expand.c b/bin/sh/expand.c index e1c1a2e..193d651 100644 --- a/bin/sh/expand.c +++ b/bin/sh/expand.c @@ -635,7 +635,7 @@ evalvar(char *p, int flag) int varlenb; int easy; int quotes = flag & (EXP_FULL | EXP_CASE); - int record; + int record = 0; varflags = (unsigned char)*p++; subtype = varflags & VSTYPE; |