Bug 1453795 - Netwerk/Coockies - Initialize member fields in classes/ structures. r=josh
This commit is contained in:
@@ -143,7 +143,11 @@ struct CookieDomainTuple
|
||||
// conveniently switch state when entering or exiting private browsing.
|
||||
struct DBState final
|
||||
{
|
||||
DBState() : cookieCount(0), cookieOldestTime(INT64_MAX), corruptFlag(OK)
|
||||
DBState()
|
||||
: cookieCount(0)
|
||||
, cookieOldestTime(INT64_MAX)
|
||||
, corruptFlag(OK)
|
||||
, readListener(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user