Remove useless comparison

This commit is contained in:
Kim Kulling
2020-04-27 21:30:06 +02:00
committed by GitHub
parent c1c8080143
commit 625cc9d096
-3
View File
@@ -635,9 +635,6 @@ private:
s32 amount = used < new_size ? used : new_size;
for (s32 i=0; i<amount; ++i)
array[i] = old_array[i];
if (allocated < used)
used = allocated;
delete [] old_array;
}