diff options
author | Gary Mills <gary_mills@fastmail.fm> | 2017-08-12 12:32:18 -0500 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2017-08-26 21:12:13 -0400 |
commit | d7c57852794a9ac50d4b6a9c4161cb10919658aa (patch) | |
tree | f65d8e023522c8e06497e86283b59ad2fce98886 /usr/src/cmd/sh | |
parent | b31ca922c7346747131aed07c0c171ec2f573aac (diff) | |
download | illumos-gate-d7c57852794a9ac50d4b6a9c4161cb10919658aa.tar.gz |
8485 Remove set but unused variables in usr/src/cmd
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Yuri Pankov <yuripv@gmx.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/cmd/sh')
-rw-r--r-- | usr/src/cmd/sh/xec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/sh/xec.c b/usr/src/cmd/sh/xec.c index 2d3d6ebaf3..50b7cd7b05 100644 --- a/usr/src/cmd/sh/xec.c +++ b/usr/src/cmd/sh/xec.c @@ -20,6 +20,7 @@ */ /* + * Copyright 2017 Gary Mills * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -124,7 +125,7 @@ int *pf1, *pf2; case TCOM: { - unsigned char *a1, *name; + unsigned char *name; int argn, internal; struct argnod *schain = gchain; struct ionod *io = t->treio; @@ -136,7 +137,6 @@ int *pf1, *pf2; gchain = 0; argn = getarg(t); com = scan(argn); - a1 = com[1]; gchain = schain; if (argn != 0) |