Remove uninitialized local variable in favor of global.

PR:		 bin/52685
Submitted by:	 Alexander Nedotsukov <bland@mail.ru>
Approved by:	 re (scottl)
This commit is contained in:
Matthew N. Dodd 2003-05-26 04:58:26 +00:00
parent c87d464f28
commit caf357a2c8

View File

@ -201,7 +201,6 @@ dumpdata(int f, report_desc_t rd, int loop)
static int one = 1;
u_int32_t colls[100];
int sp = 0;
int report_id;
char namebuf[10000], *namep;
hids = 0;
@ -245,7 +244,7 @@ dumpdata(int f, report_desc_t rd, int loop)
if (all || gotname(namebuf)) {
if (!noname)
printf("%s=", namebuf);
prdata(dbuf + (report_id != 0), n);
prdata(dbuf + (reportid != 0), n);
printf("\n");
}
}