Bug 666481: Remove set-but-not-used variable 'count' from jsatom.cpp. r=igor

This commit is contained in:
Daniel Holbert
2011-06-23 02:47:13 -07:00
parent 82b3cda1f6
commit ce42c9edd6

View File

@@ -942,7 +942,6 @@ js_InitAtomMap(JSContext *cx, JSAtomMap *map, JSAtomList *al)
{ {
JSAtom **vector; JSAtom **vector;
JSAtomListElement *ale; JSAtomListElement *ale;
uint32 count;
/* Map length must already be initialized. */ /* Map length must already be initialized. */
JS_ASSERT(al->count == map->length); JS_ASSERT(al->count == map->length);
@@ -955,7 +954,6 @@ js_InitAtomMap(JSContext *cx, JSAtomMap *map, JSAtomList *al)
return; return;
} }
count = al->count;
vector = map->vector; vector = map->vector;
if (al->table) { if (al->table) {
#ifdef DEBUG #ifdef DEBUG