summaryrefslogtreecommitdiff
path: root/usr/src/cmd/sh/xec.c
diff options
context:
space:
mode:
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)