MT#59962 SdpOrigin: extend constructor

To initialize `sessId` and `sessV` to 0
in case when they aren't given explicitly
during the construction
(e.g. via ther other concrete constructor).

Closes Coverity CID 642745.

Change-Id: I8abea03f079ed64a0a4127afaba61cad17473e82
mr14.1
Donat Zenichev 7 months ago
parent 9fd65e95f5
commit 5d4ebc30f8

@ -88,7 +88,7 @@ struct SdpOrigin
__uint128_t sessV;
SdpConnection conn;
SdpOrigin() : user(), conn() {}
SdpOrigin() : user(), conn(), sessId(0), sessV(0) {}
SdpOrigin(const SdpOrigin& other)
: user(other.user), sessId(other.sessId), sessV(other.sessV),

Loading…
Cancel
Save