summaryrefslogtreecommitdiff
path: root/usr.bin/ypwhich
diff options
context:
space:
mode:
authorGavin Atkinson <gavin@FreeBSD.org>2010-06-19 16:24:55 +0000
committerGavin Atkinson <gavin@FreeBSD.org>2010-06-19 16:24:55 +0000
commitae7f9676e7604619d8ab2e2cc25f49e4c5cc1c5f (patch)
tree3c433204fbc4becda69466fd81c3dc2499a25ec6 /usr.bin/ypwhich
parent9085ea505441fd3b03fee98c65bc8d9a344dcc74 (diff)
downloadsrc-test2-ae7f9676e7604619d8ab2e2cc25f49e4c5cc1c5f.tar.gz
src-test2-ae7f9676e7604619d8ab2e2cc25f49e4c5cc1c5f.zip
Notes
Diffstat (limited to 'usr.bin/ypwhich')
-rw-r--r--usr.bin/ypwhich/ypwhich.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ypwhich/ypwhich.c b/usr.bin/ypwhich/ypwhich.c
index 4e719dffcd0e..b31dcae2cb6c 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':