Remove another dead local variable so JS can build without warnings on GCC. No bug#, no_r=me.
authorJason Orendorff <jorendorff@mozilla.com>
Thu, 08 Dec 2011 14:14:01 -0600
changeset 82317 1bf5f690b3826f294fc1e9b6a3e9a5430106b439
parent 82316 ad40be58fa5b96d0daa2b2c5b09d97c6c6ebbd12
child 82318 e7785a537e5dc4fd761d72c2db947f0c45051615
push id21591
push userbmo@edmorley.co.uk
push dateFri, 09 Dec 2011 11:33:41 +0000
treeherdermozilla-central@63bff373cb94 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone11.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Remove another dead local variable so JS can build without warnings on GCC. No bug#, no_r=me.
js/src/jspropertycache.cpp
--- a/js/src/jspropertycache.cpp
+++ b/js/src/jspropertycache.cpp
@@ -114,17 +114,17 @@ PropertyCache::fill(JSContext *cx, JSObj
         return JS_NO_PROP_CACHE_FILL;
     }
 
     /*
      * Optimize the cached vword based on our parameters and the current pc's
      * opcode format flags.
      */
     jsbytecode *pc;
-    JSScript *script = cx->stack.currentScript(&pc);
+    (void) cx->stack.currentScript(&pc);
     op = JSOp(*pc);
     cs = &js_CodeSpec[op];
 
     if ((cs->format & JOF_SET) && obj->watched())
         return JS_NO_PROP_CACHE_FILL;
 
     if (obj == pobj) {
         JS_ASSERT(scopeIndex == 0 && protoIndex == 0);