Print this page
8485 Remove set but unused variables in usr/src/cmd

*** 18,27 **** --- 18,28 ---- * * CDDL HEADER END */ /* + * Copyright 2017 Gary Mills * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
*** 122,132 **** break; } case TCOM: { ! unsigned char *a1, *name; int argn, internal; struct argnod *schain = gchain; struct ionod *io = t->treio; short cmdhash; short comtype; --- 123,133 ---- break; } case TCOM: { ! unsigned char *name; int argn, internal; struct argnod *schain = gchain; struct ionod *io = t->treio; short cmdhash; short comtype;
*** 134,144 **** exitval = 0; gchain = 0; argn = getarg(t); com = scan(argn); - a1 = com[1]; gchain = schain; if (argn != 0) cmdhash = pathlook(com[0], 1, comptr(t)->comset); --- 135,144 ----