зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1416716 - Init deleteSucceeded to silent a -Wmaybe-uninitialized warning r=bz
MozReview-Commit-ID: C3pYuP5dPxI --HG-- extra : rebase_source : f6a1003ca85b534a43b5efba33bbb4f502532d05
This commit is contained in:
Родитель
2fda79adb2
Коммит
85d099995a
|
@ -11984,7 +11984,7 @@ class CGDeleteNamedProperty(CGAbstractStaticMethod):
|
||||||
MOZ_ASSERT(js::IsProxy(proxy));
|
MOZ_ASSERT(js::IsProxy(proxy));
|
||||||
MOZ_ASSERT(!xpc::WrapperFactory::IsXrayWrapper(proxy));
|
MOZ_ASSERT(!xpc::WrapperFactory::IsXrayWrapper(proxy));
|
||||||
JSAutoCompartment ac(cx, proxy);
|
JSAutoCompartment ac(cx, proxy);
|
||||||
bool deleteSucceeded;
|
bool deleteSucceeded = false;
|
||||||
bool found = false;
|
bool found = false;
|
||||||
$*{namedBody}
|
$*{namedBody}
|
||||||
if (!found || deleteSucceeded) {
|
if (!found || deleteSucceeded) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче