diff options
author | Ed Tanous <ed@tanous.net> | 2024-03-19 22:18:06 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2024-03-25 21:29:19 +0300 |
commit | 47f2934cc509e420e5617a96158e76829746b835 (patch) | |
tree | dd73fdb8eb071886f4de28a0a911972d6ce4940f /http/http2_connection.hpp | |
parent | 0501696e3663eafb3e497120b85f0f0a8194a97b (diff) | |
download | bmcweb-47f2934cc509e420e5617a96158e76829746b835.tar.xz |
Fix redundant init issues
clang-tidy-18 must've fixed their checking for these in headers.
Resolve as the robot commands.
Tested: Noop changes made by tidy. Code compiles.
Change-Id: I1de7686c597deffb0df91c30dae1a29f9ba7900e
Signed-off-by: Ed Tanous <ed@tanous.net>
Diffstat (limited to 'http/http2_connection.hpp')
-rw-r--r-- | http/http2_connection.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/http/http2_connection.hpp b/http/http2_connection.hpp index 7903ec93b1..749ac282ef 100644 --- a/http/http2_connection.hpp +++ b/http/http2_connection.hpp @@ -38,9 +38,9 @@ namespace crow struct Http2StreamData { - Request req{}; + Request req; std::optional<bmcweb::HttpBody::reader> reqReader; - Response res{}; + Response res; std::optional<bmcweb::HttpBody::writer> writer; }; |