diff options
Diffstat (limited to 'include/openbmc_dbus_rest.hpp')
-rw-r--r-- | include/openbmc_dbus_rest.hpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/include/openbmc_dbus_rest.hpp b/include/openbmc_dbus_rest.hpp index 5bdc4ec0b7..82e3ecd8c1 100644 --- a/include/openbmc_dbus_rest.hpp +++ b/include/openbmc_dbus_rest.hpp @@ -221,7 +221,6 @@ inline void getPropertiesForEnumerate( } else { - propertyJson = val; } }, @@ -344,7 +343,6 @@ inline void getManagedObjectsForEnumerate( } else { - propertyJson = val; } }, @@ -1678,8 +1676,8 @@ inline void handleEnumerate(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, [objectPath, asyncResp]( const boost::system::error_code& ec, const dbus::utility::MapperGetSubTreeResponse& objectNames) { - auto transaction = - std::make_shared<InProgressEnumerateData>(objectPath, asyncResp); + auto transaction = std::make_shared<InProgressEnumerateData>(objectPath, + asyncResp); transaction->subtree = std::make_shared<dbus::utility::MapperGetSubTreeResponse>( @@ -2030,7 +2028,6 @@ inline void handleDBusUrl(const crow::Request& req, const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, std::string& objectPath) { - // If accessing a single attribute, fill in and update objectPath, // otherwise leave destProperty blank std::string destProperty; @@ -2572,8 +2569,8 @@ inline void requestRoutes(App& app) asyncResp->res.result(boost::beast::http::status::not_found); return; } - std::string contentDispositionParam = - "attachment; filename=\"" + dumpFileName + "\""; + std::string contentDispositionParam = "attachment; filename=\"" + + dumpFileName + "\""; asyncResp->res.addHeader( boost::beast::http::field::content_disposition, |