Bug 1453795 - I18N - Initialize member fields in classes/ structures. r=jfkthame
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Thu, 14 Jun 2018 22:32:49 +0300
changeset 479504 6e671db307db8527ed82b365f6050c41bc0e70e5
parent 479502 3c49d41af70aa67f119b154c41187691c02d599c
child 479505 3ee42b865a76c9a41774de4d0e8f5814fe914d0e
push id1757
push userffxbld-merge
push dateFri, 24 Aug 2018 17:02:43 +0000
treeherdermozilla-release@736023aebdb1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjfkthame
bugs1453795
milestone62.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1453795 - I18N - Initialize member fields in classes/ structures. r=jfkthame
intl/chardet/nsCyrillicDetector.cpp
--- a/intl/chardet/nsCyrillicDetector.cpp
+++ b/intl/chardet/nsCyrillicDetector.cpp
@@ -125,16 +125,17 @@ void nsCyrXPCOMDetector::Report(const ch
   mObserver->Notify(aCharset, eBestAnswer);
 }
 
 //---------------------------------------------------------------------
 nsCyrXPCOMStringDetector:: nsCyrXPCOMStringDetector(uint8_t aItems,
                       const uint8_t ** aCyrillicClass,
                       const char **aCharsets)
 	     : nsCyrillicDetector(aItems, aCyrillicClass, aCharsets)
+	     , mResult(nullptr)
 {
 }
 
 //---------------------------------------------------------------------
 nsCyrXPCOMStringDetector::~nsCyrXPCOMStringDetector()
 {
 }