Diff of /main/trunk/interpreter/classes/ArrayClass.cpp [r9977] .. [r9978]  Maximize  Restore

Switch to side-by-side view

--- a/main/trunk/interpreter/classes/ArrayClass.cpp
+++ b/main/trunk/interpreter/classes/ArrayClass.cpp
@@ -1684,12 +1684,6 @@
     size_t _size = this->size();                 /* get the size                      */
     size_t newSize = _size - amount;             /* get the new size                  */
 
-    size_t i = newSize + 1;                     /* address first removed element     */
-    for (i = newSize + 1; i <= _size; i++)/* for all removed elements          */
-    {
-        this->put(OREF_NULL, i);           /* clear out the element             */
-    }
-                                           /* adjust the size .                 */
     this->expansionArray->arraySize = newSize;
 }