Backing out because of bogus checkin comment

This commit is contained in:
vidur%netscape.com 1999-12-15 00:28:32 +00:00
parent 7eee3537f3
commit 76b192e1f0

View File

@ -131,7 +131,7 @@ nsJSContext::nsJSContext(JSRuntime *aRuntime)
// Check for the JS strict option, which enables extra error checks
nsresult rv;
PRBool strict;
PRBool strict, werror;
NS_WITH_SERVICE(nsIPref, prefs, kPrefServiceCID, &rv);
if (NS_SUCCEEDED(rv)) {
uint32 options = 0;
@ -143,7 +143,6 @@ nsJSContext::nsJSContext(JSRuntime *aRuntime)
}
#endif
#ifdef JSOPTION_WERROR
nsresult werror;
if (NS_SUCCEEDED(prefs->GetBoolPref("javascript.options.werror",
&werror)) &&
werror) {