Author: gavin
Date: Sat Jun 19 16:24:55 2010
New Revision: 209342
URL: http://svn.freebsd.org/changeset/base/209342

Log:
  Variable 'getmap' is unused.
  
  Found by:     clang static analyzer

Modified:
  head/usr.bin/ypwhich/ypwhich.c

Modified: head/usr.bin/ypwhich/ypwhich.c
==============================================================================
--- head/usr.bin/ypwhich/ypwhich.c      Sat Jun 19 13:42:14 2010        
(r209341)
+++ head/usr.bin/ypwhich/ypwhich.c      Sat Jun 19 16:24:55 2010        
(r209342)
@@ -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':
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to