Skip to content

Commit 4c7e295

Browse files
committed
utils/sdp_parser: Fix CID897414 & CID897415
1 parent ab031aa commit 4c7e295

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/sdp_parser.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#include "utils/string_view_utils.hpp"
4040

4141
Sap_packet_view Sap_packet_view::from_buffer(const void *buf, size_t size){
42-
Sap_packet_view ret;
42+
Sap_packet_view ret{};
4343

4444
std::string_view sap(static_cast<const char *>(buf), size);
4545

@@ -89,7 +89,7 @@ Sap_packet_view Sap_packet_view::from_buffer(const void *buf, size_t size){
8989
}
9090

9191
Sdp_view Sdp_view::from_buffer(const void *buf, size_t size){
92-
Sdp_view ret;
92+
Sdp_view ret{};
9393

9494
std::string_view sdp(static_cast<const char *>(buf), size);
9595

0 commit comments

Comments
 (0)