mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
ID: 3600910 - 'lib/ipmi_delloem.c' remove unused variable
Commit removes unused variable 'dte' in ipmi_powermgmt() in 'lib/ipmi_delloem.c'.
This commit is contained in:
parent
69e43dc87f
commit
c53a3cbb8e
@ -3263,7 +3263,6 @@ static int ipmi_powermgmt(struct ipmi_intf* intf)
|
||||
{
|
||||
time_t now;
|
||||
struct tm* tm;
|
||||
char* dte;
|
||||
|
||||
struct ipmi_rs * rsp;
|
||||
struct ipmi_rq req;
|
||||
@ -3293,7 +3292,6 @@ static int ipmi_powermgmt(struct ipmi_intf* intf)
|
||||
|
||||
now = time(0);
|
||||
tm = gmtime(&now);
|
||||
dte = asctime(tm);
|
||||
|
||||
memset(&req, 0, sizeof(req));
|
||||
req.msg.netfn = IPMI_NETFN_STORAGE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user