summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2019-01-14 11:04:28 -0600
committerMatt Spinler <spinler@us.ibm.com>2019-01-15 09:48:26 -0600
commit127ea5461b72a2e19d08fbfd47121ca8f7964c30 (patch)
tree6191019a2ea6b06545075d64e4c950129df69b6c /include
parent5f2caaef9fec67f3b4da92b7eddcf125b6987f46 (diff)
downloadbmcweb-127ea5461b72a2e19d08fbfd47121ca8f7964c30.tar.gz
bmcweb-127ea5461b72a2e19d08fbfd47121ca8f7964c30.zip
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 <spinler@us.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/openbmc_dbus_rest.hpp2
1 files changed, 2 insertions, 0 deletions
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<InProgressActionData> transaction,
OpenPOWER on IntegriCloud