From c53a3cbb8e92be3e3bf05047e7246570d7cab2b7 Mon Sep 17 00:00:00 2001 From: Zdenek Styblik Date: Tue, 12 Feb 2013 12:15:28 +0000 Subject: [PATCH] ID: 3600910 - 'lib/ipmi_delloem.c' remove unused variable Commit removes unused variable 'dte' in ipmi_powermgmt() in 'lib/ipmi_delloem.c'. --- ipmitool/lib/ipmi_delloem.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ipmitool/lib/ipmi_delloem.c b/ipmitool/lib/ipmi_delloem.c index 891b8c6..ad95ca7 100644 --- a/ipmitool/lib/ipmi_delloem.c +++ b/ipmitool/lib/ipmi_delloem.c @@ -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;