Bug 1668926 - ensure SignedStatusRunnable::SignedStatusRunnable mResult is initialized. r=benc

CID 1459799 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)2. uninit_member: Non-static class member mResult is not initialized in this constructor nor in any functions that it calls.

Differential Revision: https://phabricator.services.mozilla.com/D111619

--HG--
extra : rebase_source : 14c1930627170a7c9a9c769856117cb51d72126f
This commit is contained in:
Magnus Melin 2021-04-12 09:57:36 +03:00
Родитель f49e4ae32d
Коммит 20fbe70194
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -286,6 +286,7 @@ SignedStatusRunnable::SignedStatusRunnable(
int32_t aNestingLevel, int32_t aSignatureStatus, nsIX509Cert* aSignerCert,
const nsCString& aMsgNeckoURL)
: mozilla::Runnable("SignedStatusRunnable"),
mResult(NS_ERROR_UNEXPECTED),
m_sink(aSink),
m_nestingLevel(aNestingLevel),
m_signatureStatus(aSignatureStatus),