removed unused variable
now passes -Wall
This commit is contained in:
1
sudo.c
1
sudo.c
@@ -488,7 +488,6 @@ static int parse_args()
|
|||||||
int ret = MODE_RUN; /* what mode is suod to be run in? */
|
int ret = MODE_RUN; /* what mode is suod to be run in? */
|
||||||
int excl = 0; /* exclusive arg, no others allowed */
|
int excl = 0; /* exclusive arg, no others allowed */
|
||||||
char *progname = Argv[0]; /* so we can save Argv[0] */
|
char *progname = Argv[0]; /* so we can save Argv[0] */
|
||||||
int i;
|
|
||||||
|
|
||||||
#ifdef SHELL_IF_NO_ARGS
|
#ifdef SHELL_IF_NO_ARGS
|
||||||
if (Argc < 2) { /* no options and no command */
|
if (Argc < 2) { /* no options and no command */
|
||||||
|
Reference in New Issue
Block a user