mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-06-28 16:21:35 +00:00
use __UNUSED__ macro instead of gcc specific attribute
Use __UNUSED__ macro defined in helper.h instead of the gcc-specific attribute unused macro. Partially resolves ipmitool/ipmitool#13 Signed-off-by: Patrick Venture <venture@google.com>
This commit is contained in:
committed by
Alexander Amelkin
parent
9a55136bfb
commit
d6d9c85139
@@ -420,7 +420,7 @@ ipmi_sel_add_entries_fromfile(struct ipmi_intf * intf, const char * filename)
|
||||
return rc;
|
||||
}
|
||||
|
||||
static struct ipmi_event_sensor_types oem_kontron_event_reading_types[] __attribute__((unused)) = {
|
||||
static struct ipmi_event_sensor_types __UNUSED__(oem_kontron_event_reading_types[]) = {
|
||||
{ 0x70 , 0x00 , 0xff, "Code Assert" },
|
||||
{ 0x71 , 0x00 , 0xff, "Code Assert" },
|
||||
{ 0, 0, 0xFF, NULL }
|
||||
|
||||
Reference in New Issue
Block a user