]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
tests: remove unused variable in tests/util/ktime-t.c
authorMarc Dionne <marc.c.dionne@gmail.com>
Mon, 9 Apr 2012 23:00:36 +0000 (19:00 -0400)
committerStephan Wiesand <stephan.wiesand@desy.de>
Thu, 25 Aug 2016 16:27:19 +0000 (12:27 -0400)
errors is set but not used - remove it.

Reviewed-on: http://gerrit.openafs.org/7142
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
(cherry picked from commit f971a36968bdcb224ff3ffb663929d4febcab5d5)

Change-Id: I72afced31735012b2832c46d0b4efd83c67c17e2
Reviewed-on: https://gerrit.openafs.org/12373
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Tested-by: Stephan Wiesand <stephan.wiesand@desy.de>
tests/util/ktime-t.c

index fefbcb370f43880c0ca8ef3e209f2762e430345e..d9793bbef052d8c4f3b319520483a7038b8b3d73 100644 (file)
@@ -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);