Skip to content

Commit 6e24d9b

Browse files
committed
fix warning: unused variable 'attr'
src/dmidecode.c: In function 'dmi_parse_protocol_record': src/dmidecode.c:4448:14: warning: unused variable 'attr' [-Wunused-variable] 4448 | char attr[38]; | ^~~~
1 parent 4c547ef commit 6e24d9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/dmidecode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4445,7 +4445,7 @@ void dmi_parse_protocol_record(xmlNode *node, u8 *rec)
44454445
u8 hlen;
44464446
// const char *addrstr;
44474447
const char *hname;
4448-
char attr[38];
4448+
// char attr[38];
44494449

44504450
/* DSP0270: 8.5: Protocol Identifier */
44514451
rid = rec[0x0];

0 commit comments

Comments
 (0)