aboutsummaryrefslogtreecommitdiffstats
path: root/common/t-timestuff.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-08-10 12:11:30 +0000
committerWerner Koch <[email protected]>2011-08-10 12:11:30 +0000
commit816bee1fa0d833ac72ea4e7d52465e6e1da2645d (patch)
tree91be759197e74f2e32f821edecce8df6eb444742 /common/t-timestuff.c
parentFix autoconf warnings and update config.* files. (diff)
downloadgnupg-816bee1fa0d833ac72ea4e7d52465e6e1da2645d.tar.gz
gnupg-816bee1fa0d833ac72ea4e7d52465e6e1da2645d.zip
Fixed set but unused variable bugs
Diffstat (limited to 'common/t-timestuff.c')
-rw-r--r--common/t-timestuff.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/t-timestuff.c b/common/t-timestuff.c
index c9c8fe5b8..8e5fa65ee 100644
--- a/common/t-timestuff.c
+++ b/common/t-timestuff.c
@@ -81,10 +81,9 @@ test_timegm (void)
};
int tidx;
- time_t now, atime, counter;
+ time_t now, atime;
struct tm tbuf, tbuf2, *tp;
- counter = 0;
for (tidx=0; tidx < DIM (tvalues); tidx++)
{
if (tvalues[tidx].year == -1)