Bug 644241 followup for compiler warning
authorAlon Zakai <azakai@mozilla.com>
Fri, 03 Jun 2011 18:13:47 -0700
changeset 71178 ea71b04c158be85de4f29b753ef3f76dcc7d3392
parent 71177 33570e1ea60f95f016f9e4ddba4c33a53436c2b1
child 71179 38f994208a4698546db7b9ea6bb49a96b0587211
push id159
push usereakhgari@mozilla.com
push dateTue, 16 Aug 2011 17:53:11 +0000
treeherdermozilla-beta@8786e3e49240 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs644241
milestone6.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
Bug 644241 followup for compiler warning
js/src/jsarena.cpp
--- a/js/src/jsarena.cpp
+++ b/js/src/jsarena.cpp
@@ -188,17 +188,17 @@ JS_ArenaAllocate(JSArenaPool *pool, size
     JS_ASSERT(a->base <= a->avail && a->avail <= a->limit);
     return p;
 }
 
 JS_PUBLIC_API(void *)
 JS_ArenaRealloc(JSArenaPool *pool, void *p, size_t size, size_t incr)
 {
     JSArena **ap, *a, *b;
-    jsuword boff, aoff, extra, hdrsz, gross, growth;
+    jsuword boff, aoff, extra, hdrsz, gross;
 
     /*
      * Use the oversized-single-allocation header to avoid searching for ap.
      * See JS_ArenaAllocate, the SET_HEADER call.
      */
     if (size > pool->arenasize) {
         ap = *PTR_TO_HEADER(pool, p);
         a = *ap;