mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 06:52:45 +00:00
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:
parent
c87d464f28
commit
caf357a2c8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115317
@ -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");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user