From: Marc Dionne Date: Mon, 9 Apr 2012 23:00:36 +0000 (-0400) Subject: tests: remove unused variable in tests/util/ktime-t.c X-Git-Tag: upstream/1.6.20^2~21 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=a7c2609ec46d42d26fcd8ea802e1cb2c5fa758c2;p=packages%2Fo%2Fopenafs.git tests: remove unused variable in tests/util/ktime-t.c errors is set but not used - remove it. Reviewed-on: http://gerrit.openafs.org/7142 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman (cherry picked from commit f971a36968bdcb224ff3ffb663929d4febcab5d5) Change-Id: I72afced31735012b2832c46d0b4efd83c67c17e2 Reviewed-on: https://gerrit.openafs.org/12373 Reviewed-by: Stephan Wiesand Tested-by: Stephan Wiesand --- diff --git a/tests/util/ktime-t.c b/tests/util/ktime-t.c index fefbcb370..d9793bbef 100644 --- a/tests/util/ktime-t.c +++ b/tests/util/ktime-t.c @@ -66,7 +66,6 @@ main(void) { long code; afs_int32 temp; - int errors; time_t t; struct testTime *tt; @@ -76,7 +75,6 @@ main(void) * work in other than EST */ putenv("TZ=EST"); - errors = 0; for (tt = testTimes; tt->time; tt++) { temp = 0; code = ktime_DateToLong(tt->time, &temp);