summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tzsetup
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2010-06-05 12:53:44 +0000
committeredwin <edwin@FreeBSD.org>2010-06-05 12:53:44 +0000
commitfbdcfea8cb5a809b733223e1c53a383040e1dc4b (patch)
tree2eb636314deafc9827ecbda1382ad8d3cd826a20 /usr.sbin/tzsetup
parent9f84f214655d7a831646a76487e371a3057b9e19 (diff)
downloadFreeBSD-src-fbdcfea8cb5a809b733223e1c53a383040e1dc4b.zip
FreeBSD-src-fbdcfea8cb5a809b733223e1c53a383040e1dc4b.tar.gz
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
Diffstat (limited to 'usr.sbin/tzsetup')
-rw-r--r--usr.sbin/tzsetup/tzsetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/tzsetup/tzsetup.c b/usr.sbin/tzsetup/tzsetup.c
index 14b9a7f..872408a 100644
--- a/usr.sbin/tzsetup/tzsetup.c
+++ b/usr.sbin/tzsetup/tzsetup.c
@@ -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)
OpenPOWER on IntegriCloud