Fix set-never-used warning in ifstat

This commit is contained in:
Stephen Hemminger 2011-06-29 15:58:12 -07:00
parent 2dd9f8e073
commit dc484542a9

View File

@ -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);