summaryrefslogtreecommitdiff
path: root/lib/ipmi_hpmfwupg.c
diff options
context:
space:
mode:
authorZdenek Styblik <stybla@turnovfree.net>2015-01-17 11:44:46 +0100
committerZdenek Styblik <stybla@turnovfree.net>2015-01-17 11:44:46 +0100
commit33f9336e8522af712563699089c3227531586cdd (patch)
treea070f557cdbd2e6c77b81770e5f1035501a153be /lib/ipmi_hpmfwupg.c
parent6febd10121047da98f210de0b4c9938321028312 (diff)
downloadipmitool-33f9336e8522af712563699089c3227531586cdd.tar.gz
ID:355 - Fix compiler warnings
Commit removes all unused variables reported by compiler.
Diffstat (limited to 'lib/ipmi_hpmfwupg.c')
-rw-r--r--lib/ipmi_hpmfwupg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ipmi_hpmfwupg.c b/lib/ipmi_hpmfwupg.c
index fbb5a62..9dfa0f3 100644
--- a/lib/ipmi_hpmfwupg.c
+++ b/lib/ipmi_hpmfwupg.c
@@ -998,7 +998,6 @@ HpmfwupgUpgradeStage(struct ipmi_intf *intf,
unsigned char *pImagePtr;
unsigned int actionsSize;
int flagColdReset = FALSE;
- time_t start,end;
/* Put pointer after image header */
pImagePtr = (unsigned char*)
(pFwupgCtx->pImageData + sizeof(struct HpmfwupgImageHeader) +
@@ -1869,7 +1868,6 @@ HpmfwupgGetUpgradeStatus(struct ipmi_intf *intf,
struct HpmfwupgUpgradeCtx *pFwupgCtx,
int silent)
{
- int rc = HPMFWUPG_SUCCESS;
struct ipmi_rs *rsp;
struct ipmi_rq req;
pCtx->req.picmgId = HPMFWUPG_PICMG_IDENTIFIER;