diff options
author | gavin <gavin@FreeBSD.org> | 2010-06-19 16:24:55 +0000 |
---|---|---|
committer | gavin <gavin@FreeBSD.org> | 2010-06-19 16:24:55 +0000 |
commit | e18177bbde40122814360e67ce2d75035b2f7a3d (patch) | |
tree | 3c433204fbc4becda69466fd81c3dc2499a25ec6 /usr.bin/ypwhich | |
parent | 86d0f9df6cdc1876cb8746b92eb563ccace93486 (diff) | |
download | FreeBSD-src-e18177bbde40122814360e67ce2d75035b2f7a3d.zip FreeBSD-src-e18177bbde40122814360e67ce2d75035b2f7a3d.tar.gz |
Variable 'getmap' is unused.
Found by: clang static analyzer
Diffstat (limited to 'usr.bin/ypwhich')
-rw-r--r-- | usr.bin/ypwhich/ypwhich.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ypwhich/ypwhich.c b/usr.bin/ypwhich/ypwhich.c index 4e719df..b31dcae 100644 --- a/usr.bin/ypwhich/ypwhich.c +++ b/usr.bin/ypwhich/ypwhich.c @@ -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': |