mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
Moving worked declaration to the beginning of function to get around goto error. Fixes linux bustage.
This commit is contained in:
parent
8eae23158b
commit
00a2b10e79
@ -1322,6 +1322,7 @@ extern "C" JSBool pref_InitInitialObjects()
|
||||
{
|
||||
JSBool funcResult;
|
||||
nsresult rv;
|
||||
JSBool worked = PR_FALSE;
|
||||
NS_WITH_SERVICE(nsIFileLocator, locator, kFileLocatorCID, &rv);
|
||||
if (NS_FAILED(rv))
|
||||
return JS_TRUE;
|
||||
@ -1359,7 +1360,7 @@ extern "C" JSBool pref_InitInitialObjects()
|
||||
funcResult = JS_FALSE;
|
||||
goto done;
|
||||
}
|
||||
JSBool worked = (JSBool)(pref_OpenFileSpec(
|
||||
worked = (JSBool)(pref_OpenFileSpec(
|
||||
specialChild,
|
||||
PR_FALSE,
|
||||
PR_FALSE,
|
||||
|
Loading…
Reference in New Issue
Block a user