clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I75f89d2959b0f1338c20d72ad669fbdc1d720835
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/redfish-core/lib/storage.hpp b/redfish-core/lib/storage.hpp
index 0388ccd..7182317 100644
--- a/redfish-core/lib/storage.hpp
+++ b/redfish-core/lib/storage.hpp
@@ -737,7 +737,7 @@
asyncResp->res.jsonValue["Members@odata.count"] = resp.size();
}); // end association lambda
- } // end Iterate over all retrieved ObjectPaths
+ } // end Iterate over all retrieved ObjectPaths
});
}
@@ -755,7 +755,6 @@
const boost::system::error_code& ec,
const dbus::utility::MapperGetSubTreeResponse& subtree)
{
-
if (ec)
{
BMCWEB_LOG_DEBUG << "DBUS response error " << ec;
@@ -803,7 +802,6 @@
const std::string& driveName,
const std::vector<std::string>& resp)
{
-
for (const std::string& drivePath : resp)
{
sdbusplus::message::object_path path(drivePath);