mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
Fix compiler warning
Drop some unused variables detected by the compiler Signed-off-by: Alexander Amelkin <alexander@amelkin.msk.ru>
This commit is contained in:
parent
87fc969e45
commit
692a357808
@ -63,8 +63,6 @@ extern int verbose;
|
||||
|
||||
static int ipmi_free_open(struct ipmi_intf * intf)
|
||||
{
|
||||
int kcs_ret = -1, ssif_ret = -1;
|
||||
|
||||
if (getuid() != 0) {
|
||||
fprintf(stderr, "Permission denied, must be root\n");
|
||||
return -1;
|
||||
|
@ -741,8 +741,6 @@ ipmi_lan_poll_single(struct ipmi_intf * intf)
|
||||
return (struct ipmi_rs *)1;
|
||||
};
|
||||
|
||||
uint8_t target_cmd = entry->req.msg.target_cmd;
|
||||
|
||||
lprintf(LOG_DEBUG+2, "IPMI Request Match found");
|
||||
|
||||
if (entry->bridging_level) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user