Bug 1668926 - fix member initialization in nsMessenger::nsFilePickerShownCallback::nsFilePickerShownCallback. r=benc
CID 1416479 (#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/D111623 --HG-- extra : rebase_source : d6bc34342d31465bdaaf2e7573959e81a5ecc746
This commit is contained in:
Родитель
7cf5120e98
Коммит
4beba4c533
|
@ -288,6 +288,7 @@ NS_IMETHODIMP nsMessenger::SetDisplayCharset(const nsACString& aCharset) {
|
|||
NS_IMPL_ISUPPORTS(nsMessenger::nsFilePickerShownCallback,
|
||||
nsIFilePickerShownCallback)
|
||||
nsMessenger::nsFilePickerShownCallback::nsFilePickerShownCallback() {
|
||||
mResult = nsIFilePicker::returnOK;
|
||||
mPickerDone = false;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче