Date: Sun, 19 Apr 2015 08:45:37 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281733 - head/usr.sbin/tzsetup Message-ID: <201504190845.t3J8jb6Z045813@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Sun Apr 19 08:45:37 2015 New Revision: 281733 URL: https://svnweb.freebsd.org/changeset/base/281733 Log: tzsetup: remove set but unused variable - leave a comment explaining which variable it used to be Reported by: gcc5.1 Modified: head/usr.sbin/tzsetup/tzsetup.c Modified: head/usr.sbin/tzsetup/tzsetup.c ============================================================================== --- head/usr.sbin/tzsetup/tzsetup.c Sun Apr 19 08:31:26 2015 (r281732) +++ head/usr.sbin/tzsetup/tzsetup.c Sun Apr 19 08:45:37 2015 (r281733) @@ -475,7 +475,7 @@ read_zones(void) FILE *fp; struct continent *cont; size_t len; - char *line, *tlc, *coord, *file, *descr, *p; + char *line, *tlc, *file, *descr, *p; int lineno; fp = fopen(path_zonetab, "r"); @@ -495,7 +495,7 @@ read_zones(void) if (strlen(tlc) != 2) errx(1, "%s:%d: invalid country code `%s'", path_zonetab, lineno, tlc); - coord = strsep(&line, "\t"); /* Unused */ + /* 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?201504190845.t3J8jb6Z045813>