summaryrefslogtreecommitdiffstats
path: root/storagehandler.cpp
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2016-09-21 10:02:57 -0500
committerMatthew Barth <msbarth@us.ibm.com>2016-09-21 10:53:55 -0500
commit8b4700521afc5760474fc82ebeb861c2c84118da (patch)
treec6131043f22ab71e196c173a727a1ac371c6729a /storagehandler.cpp
parentb898314b84e808d8e64c759140bdead2e573e78e (diff)
downloadphosphor-host-ipmid-8b4700521afc5760474fc82ebeb861c2c84118da.tar.gz
phosphor-host-ipmid-8b4700521afc5760474fc82ebeb861c2c84118da.zip
Ensure all tools are building with -Wall and -Werror
Corrected resulting compiler errors from correctly adding -Wall & -Werror within configure.ac. Change-Id: Ia7aaafa83103322ad4b50171d62144624dd71e42 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'storagehandler.cpp')
-rw-r--r--storagehandler.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/storagehandler.cpp b/storagehandler.cpp
index 01dd41a..b567d84 100644
--- a/storagehandler.cpp
+++ b/storagehandler.cpp
@@ -104,8 +104,6 @@ ipmi_ret_t ipmi_storage_reserve_sel(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
ipmi_request_t request, ipmi_response_t response,
ipmi_data_len_t data_len, ipmi_context_t context)
{
- unsigned short res_id;
-
ipmi_ret_t rc = IPMI_CC_OK;
// IPMI spec, Reservation ID, the value simply increases against each execution of reserve_sel command.
OpenPOWER on IntegriCloud