зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1289780- [Static analysis][Uninitialized scalar field] In constructors nsReferencedElement & nsNameSpaceEntry. r=bz
This commit is contained in:
Родитель
0d511dbfef
Коммит
67fae47b1a
|
@ -36,7 +36,9 @@ class nsReferencedElement {
|
|||
public:
|
||||
typedef mozilla::dom::Element Element;
|
||||
|
||||
nsReferencedElement() {}
|
||||
nsReferencedElement()
|
||||
: mReferencingImage(false)
|
||||
{}
|
||||
~nsReferencedElement() {
|
||||
Unlink();
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ struct nsNameSpaceEntry
|
|||
: prefix(aPrefix) {}
|
||||
|
||||
nsCOMPtr<nsIAtom> prefix;
|
||||
int32_t nameSpaceID;
|
||||
MOZ_INIT_OUTSIDE_CTOR int32_t nameSpaceID;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче