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:
Alexander Amelkin 2021-04-07 00:53:34 +03:00
parent 87fc969e45
commit 692a357808
No known key found for this signature in database
GPG Key ID: E893587B5B74178D
2 changed files with 0 additions and 4 deletions

View File

@ -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;

View File

@ -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) {