diff --git a/extensions/pref/autoconfig/src/nsJSConfigTriggers.cpp b/extensions/pref/autoconfig/src/nsJSConfigTriggers.cpp index 6c7925f1475..24abe7bba84 100644 --- a/extensions/pref/autoconfig/src/nsJSConfigTriggers.cpp +++ b/extensions/pref/autoconfig/src/nsJSConfigTriggers.cpp @@ -191,7 +191,6 @@ nsresult EvaluateAdminConfigScript(const char *js_buffer, size_t length, PRBool bCallbacks, PRBool skipFirstLine) { JSBool ok; - jsval result; if (skipFirstLine) { /* In order to protect the privacy of the JavaScript preferences file @@ -226,7 +225,7 @@ nsresult EvaluateAdminConfigScript(const char *js_buffer, size_t length, JS_BeginRequest(autoconfig_cx); ok = JS_EvaluateScript(autoconfig_cx, autoconfig_glob, - js_buffer, length, filename, 0, &result); + js_buffer, length, filename, 0, nsnull); JS_EndRequest(autoconfig_cx); JS_MaybeGC(autoconfig_cx);