mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-07-03 18:51:42 +00:00
ID:355 - Fix compiler warnings
Commit removes all unused variables reported by compiler.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user