Remove an unused variable.

This commit is contained in:
phk 2002-10-14 08:54:08 +00:00
parent 7d6013f59f
commit 95d3ce583e

View File

@ -126,7 +126,6 @@ main(int argc, char *argv[])
char * const *b; char * const *b;
} np; } np;
uid_t ruid; uid_t ruid;
gid_t gid;
int asme, ch, asthem, fastlogin, prio, i, setwhat, retcode, int asme, ch, asthem, fastlogin, prio, i, setwhat, retcode,
statusp, child_pid, child_pgrp, ret_pid; statusp, child_pid, child_pgrp, ret_pid;
char *username, *cleanenv, *class, shellbuf[MAXPATHLEN]; char *username, *cleanenv, *class, shellbuf[MAXPATHLEN];
@ -197,7 +196,6 @@ main(int argc, char *argv[])
pwd = getpwuid(ruid); pwd = getpwuid(ruid);
if (pwd == NULL) if (pwd == NULL)
errx(1, "who are you?"); errx(1, "who are you?");
gid = pwd->pw_gid;
username = strdup(pwd->pw_name); username = strdup(pwd->pw_name);
if (username == NULL) if (username == NULL)