mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
ID:355 - Fix statements without effect in lib/ipmi_ekanalyzer.c
This commit is contained in:
parent
b42c16d9dc
commit
7e991a18e0
@ -3363,7 +3363,7 @@ ipmi_ek_display_board_p2p_record(struct ipmi_ek_multi_header *record)
|
|||||||
printf("\n");
|
printf("\n");
|
||||||
offset += sizeof(struct fru_picmgext_guid);
|
offset += sizeof(struct fru_picmgext_guid);
|
||||||
}
|
}
|
||||||
for (offset;
|
for (offset = offset;
|
||||||
offset < record->header.len;
|
offset < record->header.len;
|
||||||
offset += sizeof(struct fru_picmgext_link_desc)) {
|
offset += sizeof(struct fru_picmgext_link_desc)) {
|
||||||
/* to solve little endian/big endian problem */
|
/* to solve little endian/big endian problem */
|
||||||
@ -3522,7 +3522,7 @@ ipmi_ek_display_radial_ipmb0_record(struct ipmi_ek_multi_header *record)
|
|||||||
if (record->data[offset] < 1) {
|
if (record->data[offset] < 1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
for (offset; offset < record->header.len;) {
|
for (offset = offset; offset < record->header.len;) {
|
||||||
unsigned char entry_count = 0;
|
unsigned char entry_count = 0;
|
||||||
printf(" IPMB-0 Hub Descriptor\n");
|
printf(" IPMB-0 Hub Descriptor\n");
|
||||||
printf("\tHardware Address: 0x%02x\n",
|
printf("\tHardware Address: 0x%02x\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user