From 127ea5461b72a2e19d08fbfd47121ca8f7964c30 Mon Sep 17 00:00:00 2001 From: Matt Spinler Date: Mon, 14 Jan 2019 11:04:28 -0600 Subject: REST: Add missing return statement Add a missing return statement to convertJsonToDbus. The function did appear to still work before, but it fixes a compile warning. Change-Id: Ib6b15c822fa6b56c9d9fdaca704bc9c53024fa76 Signed-off-by: Matt Spinler --- include/openbmc_dbus_rest.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/openbmc_dbus_rest.hpp b/include/openbmc_dbus_rest.hpp index fb23a8b..f1dbdaf 100644 --- a/include/openbmc_dbus_rest.hpp +++ b/include/openbmc_dbus_rest.hpp @@ -748,6 +748,8 @@ int convertJsonToDbus(sd_bus_message *m, const std::string &arg_type, jIt++; } } + + return r; } void findActionOnInterface(std::shared_ptr transaction, -- cgit v1.2.3