summaryrefslogtreecommitdiffstats
path: root/globalhandler.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 /globalhandler.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 'globalhandler.cpp')
-rw-r--r--globalhandler.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/globalhandler.cpp b/globalhandler.cpp
index 9008278..caa94bb 100644
--- a/globalhandler.cpp
+++ b/globalhandler.cpp
@@ -81,10 +81,8 @@ int dbus_warm_reset()
sd_bus_error error = SD_BUS_ERROR_NULL;
sd_bus_message *m = NULL;
sd_bus *bus = NULL;
- char* temp_buf = NULL;
- uint8_t* get_value = NULL;
char* connection = NULL;
- int r, i;
+ int r;
r = obj_mapper_get_connection(&connection, control_object_name);
if (r < 0) {
OpenPOWER on IntegriCloud