Remove useless comparison

pull/3171/head
Kim Kulling 2020-04-27 21:30:06 +02:00 committed by GitHub
parent c1c8080143
commit 625cc9d096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

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;
}