Variable 'getmap' is unused.

Found by:	clang static analyzer
This commit is contained in:
Gavin Atkinson 2010-06-19 16:24:55 +00:00
parent 9085ea5054
commit ae7f9676e7

View File

@ -143,11 +143,11 @@ main(int argc, char *argv[])
struct ypmaplist *ypml, *y;
struct hostent *hent;
struct sockaddr_in lsin;
int notrans, mode, getmap;
int notrans, mode;
int c, r;
u_int i;
getmap = notrans = mode = 0;
notrans = mode = 0;
while ((c = getopt(argc, argv, "xd:mt")) != -1)
switch (c) {
case 'x':