Bug 666481: Remove set-but-not-used variable 'count' from jsatom.cpp. r=igor
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user