summaryrefslogtreecommitdiffstats
path: root/globalhandler.cpp
diff options
context:
space:
mode:
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