diff --git a/src/plugins/free/free.c b/src/plugins/free/free.c index 805a901..832f29b 100644 --- a/src/plugins/free/free.c +++ b/src/plugins/free/free.c @@ -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; diff --git a/src/plugins/lanplus/lanplus.c b/src/plugins/lanplus/lanplus.c index 253f769..ed41380 100644 --- a/src/plugins/lanplus/lanplus.c +++ b/src/plugins/lanplus/lanplus.c @@ -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) {