From 8b4700521afc5760474fc82ebeb861c2c84118da Mon Sep 17 00:00:00 2001 From: Matthew Barth Date: Wed, 21 Sep 2016 10:02:57 -0500 Subject: 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 --- globalhandler.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'globalhandler.cpp') 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) { -- cgit v1.2.1