Author: edwin
Date: Sat Jun  5 12:53:44 2010
New Revision: 208831
URL: http://svn.freebsd.org/changeset/base/208831

Log:
  Add comment that this value is unused.
  It is obvious that it isn't used, but both clang and Coverity talk about it.
  
  Found with:   Coverity Prevent(tm)
  CID:          8066

Modified:
  head/usr.sbin/tzsetup/tzsetup.c

Modified: head/usr.sbin/tzsetup/tzsetup.c
==============================================================================
--- head/usr.sbin/tzsetup/tzsetup.c     Sat Jun  5 12:49:39 2010        
(r208830)
+++ head/usr.sbin/tzsetup/tzsetup.c     Sat Jun  5 12:53:44 2010        
(r208831)
@@ -358,7 +358,7 @@ read_zones(void)
                if (strlen(tlc) != 2)
                        errx(1, "%s:%d: invalid country code `%s'",
                            path_zonetab, lineno, tlc);
-               coord = strsep(&line, "\t");
+               coord = strsep(&line, "\t");     /* Unused */
                file = strsep(&line, "\t");
                p = strchr(file, '/');
                if (p == 0)
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to