From: Stephen Hemminger Date: Wed, 29 Jun 2011 22:58:12 +0000 (-0700) Subject: Fix set-never-used warning in ifstat X-Git-Tag: v2.6.39~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc484542a9d8d91db006af8a73d9ecddfef8f883;p=thirdparty%2Fiproute2.git Fix set-never-used warning in ifstat --- diff --git a/misc/ifstat.c b/misc/ifstat.c index 5b229e720..1cd55c480 100644 --- a/misc/ifstat.c +++ b/misc/ifstat.c @@ -376,8 +376,7 @@ void print_one_if(FILE *fp, struct ifstat_ent *n, unsigned long long *vals) void dump_kern_db(FILE *fp) { - struct ifstat_ent *n, *h; - h = hist_db; + struct ifstat_ent *n; print_head(fp);