Date: Sat, 5 Jun 2010 12:53:44 +0000 (UTC) From: Edwin Groothuis <edwin@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r208831 - head/usr.sbin/tzsetup Message-ID: <201006051253.o55Crix9028299@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006051253.o55Crix9028299>