diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2012-04-15 12:12:36 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2012-04-15 12:12:36 +0000 |
commit | 3767d0c4b06662132df28d1c13e0278864790b82 (patch) | |
tree | ee2595dd55169a2d9906030cc02ba0664b9d0f26 /usr.sbin/smtpd/smtpctl.c | |
parent | 9392d89ac42d3ee81f3fbe0e2f0157d1d0ee202f (diff) |
Remove dead assignments and newly created unused variables.
Found by LLVM/Clang Static Analyzer.
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/smtpctl.c')
-rw-r--r-- | usr.sbin/smtpd/smtpctl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/smtpctl.c b/usr.sbin/smtpd/smtpctl.c index 5b61f8fc846..619820e54a7 100644 --- a/usr.sbin/smtpd/smtpctl.c +++ b/usr.sbin/smtpd/smtpctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpctl.c,v 1.78 2012/01/28 11:33:07 gilles Exp $ */ +/* $OpenBSD: smtpctl.c,v 1.79 2012/04/15 12:12:35 chl Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -347,7 +347,6 @@ static int show_stats_output(struct imsg *imsg) { struct stats *stats; - struct stat_counter *s; if (imsg->hdr.type != IMSG_STATS) errx(1, "show_stats_output: bad hdr type (%d)", imsg->hdr.type); @@ -357,7 +356,6 @@ show_stats_output(struct imsg *imsg) stats = imsg->data; stat_init(stats->counters, STATS_MAX); - s = stats->counters; stat_print(STATS_CONTROL_SESSION, STAT_COUNT); stat_print(STATS_CONTROL_SESSION, STAT_ACTIVE); |