summaryrefslogtreecommitdiff
path: root/usr/src/cmd/sh/xec.c
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2017-08-28 11:57:52 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2017-08-28 11:57:52 +0000
commitfd84e971d4f4598fda8c1792bcc2375d42e82cad (patch)
treebc712d645e864f554f554c4220c3311d02b9b03e /usr/src/cmd/sh/xec.c
parent4973a49c0046838ad10a0aae797a48bde5022e97 (diff)
parentd7c57852794a9ac50d4b6a9c4161cb10919658aa (diff)
downloadillumos-joyent-fd84e971d4f4598fda8c1792bcc2375d42e82cad.tar.gz
[illumos-gate merge]
commit d7c57852794a9ac50d4b6a9c4161cb10919658aa 8485 Remove set but unused variables in usr/src/cmd
Diffstat (limited to 'usr/src/cmd/sh/xec.c')
-rw-r--r--usr/src/cmd/sh/xec.c4
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)