forked from mirrors/gecko-dev
Bug 1750181 - Silence warning about unused diagnostic variable. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D136476
This commit is contained in:
parent
d11e2bcabb
commit
1cb735a63a
1 changed files with 1 additions and 1 deletions
|
|
@ -534,7 +534,7 @@ nsresult nsAppShell::Init() {
|
||||||
wc.hbrBackground = (HBRUSH) nullptr;
|
wc.hbrBackground = (HBRUSH) nullptr;
|
||||||
wc.lpszMenuName = (LPCWSTR) nullptr;
|
wc.lpszMenuName = (LPCWSTR) nullptr;
|
||||||
wc.lpszClassName = kWindowClass;
|
wc.lpszClassName = kWindowClass;
|
||||||
ATOM wcA = RegisterClassW(&wc);
|
[[maybe_unused]] ATOM wcA = RegisterClassW(&wc);
|
||||||
MOZ_DIAGNOSTIC_ASSERT(wcA, "RegisterClassW for EventWindowClass failed");
|
MOZ_DIAGNOSTIC_ASSERT(wcA, "RegisterClassW for EventWindowClass failed");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue