mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 801344 - Make sure that JSRuntime::initSelfHosting never returns an uninitialized value; r=till
This commit is contained in:
parent
33cbe5d37b
commit
6b1b2c0d54
@ -354,7 +354,7 @@ JSRuntime::initSelfHosting(JSContext *cx)
|
||||
*/
|
||||
JSErrorReporter oldReporter = JS_SetErrorReporter(cx, selfHosting_ErrorReporter);
|
||||
Value rv;
|
||||
bool ok;
|
||||
bool ok = false;
|
||||
|
||||
char *filename = getenv("MOZ_SELFHOSTEDJS");
|
||||
if (filename) {
|
||||
|
Loading…
Reference in New Issue
Block a user