summaryrefslogtreecommitdiffstats
path: root/storageaddsel.C
diff options
context:
space:
mode:
authornkskjames <nkskjames@gmail.com>2015-12-01 17:10:58 -0600
committernkskjames <nkskjames@gmail.com>2015-12-01 17:10:58 -0600
commitec64f283455b7173a40fa13ac129c8eb0a7dfe43 (patch)
tree8c696010bbbbee21f8ec6624b1af5fe3a2e6ef21 /storageaddsel.C
parent7e478ce6b065a8bbd2de0ac00934e43cc1639501 (diff)
parent2935971da70e00f9d14be131067196c28908a576 (diff)
downloadphosphor-host-ipmid-ec64f283455b7173a40fa13ac129c8eb0a7dfe43.tar.gz
phosphor-host-ipmid-ec64f283455b7173a40fa13ac129c8eb0a7dfe43.zip
Merge pull request #45 from shenki/warning-fixes
Warning fixes
Diffstat (limited to 'storageaddsel.C')
-rw-r--r--storageaddsel.C4
1 files changed, 1 insertions, 3 deletions
diff --git a/storageaddsel.C b/storageaddsel.C
index 64b0e6a..345dfd5 100644
--- a/storageaddsel.C
+++ b/storageaddsel.C
@@ -136,7 +136,6 @@ int create_esel_description(const uint8_t *buffer, const char *sev, char **messa
ipmi_add_sel_request_t *p;
- int r;
char *m;
p = ( ipmi_add_sel_request_t *) buffer;
@@ -197,7 +196,6 @@ int send_esel_to_dbus(const char *desc, const char *sev, const char *details, ui
r = *pty;
}
-finish:
sd_bus_error_free(&error);
sd_bus_message_unref(m);
sd_bus_message_unref(reply);
@@ -207,7 +205,7 @@ finish:
void send_esel(uint16_t recordid) {
- char *desc, *assoc, *ascii;
+ char *desc, *assoc;
const char *sev;
uint8_t *buffer = NULL;
char *path, *pathsent;
OpenPOWER on IntegriCloud