- initialize deletedElementIndex to make the compiler happy
[WebKit-https.git] / JavaScriptCore / kjs / property_map.cpp
index e455ffad5f7408a46632c932495b576343a3d74d..d6afdf8d90ca877d3d172b0291a08af87ef466ed 100644 (file)
@@ -279,7 +279,7 @@ void PropertyMap::put(const Identifier &name, ValueImp *value, int attributes)
     int i = h & _table->sizeMask;
     int k = 0;
     bool foundDeletedElement = false;
-    int deletedElementIndex;
+    int deletedElementIndex = 0;    /* initialize to make the compiler happy */
 #if DUMP_STATISTICS
     ++numProbes;
     numCollisions += _table->entries[i].key && _table->entries[i].key != rep;