cleanup all unused-parameter warnings

Cleanup all unused-parameter warnings.  Each warning was examined to
verify it wasn't simply a case of a build macro difference.

Partially resolves ipmitool/ipmitool#13

Signed-off-by: Patrick Venture <venture@google.com>
This commit is contained in:
Patrick Venture
2018-11-14 08:37:45 -08:00
committed by Alexander Amelkin
parent d6d9c85139
commit 8ea6094118
22 changed files with 170 additions and 173 deletions

View File

@@ -93,7 +93,7 @@ typedef enum picmg_busres_resource_id {
} t_picmg_busres_resource_id;
/* the LED color capabilities */
static const char* __UNUSED__(led_color_str[]) = {
static const char *__UNUSED__(led_color_str[]) = {
"reserved",
"BLUE",
"RED",

View File

@@ -92,17 +92,16 @@ struct activate_payload_rsp {
* function will return -1 if value is not valid, or
* will return 0 if valid.
*/
int ipmi_sol_set_param_isvalid_uint8_t( const char *strval,
const char *name,
int base,
uint8_t minval,
uint8_t maxval,
uint8_t *out_value);
int ipmi_sol_set_param_isvalid_uint8_t(const char *strval,
const char *name,
uint8_t minval,
uint8_t maxval,
uint8_t *out_value);
int ipmi_sol_main(struct ipmi_intf *, int, char **);
int ipmi_get_sol_info(struct ipmi_intf * intf,
uint8_t channel,
struct sol_config_parameters * params);
int ipmi_get_sol_info(struct ipmi_intf *intf,
uint8_t channel,
struct sol_config_parameters *params);
#endif /* IPMI_SOL_H */