ref: 9f055dbe625ad02b3ee85876ec53f059c362b1d2
parent: bf12aa5c5459d374586c813ca9b9f14e34a89f18
author: Fabian Greffrath <[email protected]>
date: Tue Aug 22 03:59:07 EDT 2017
Simplify I_Realloc() logic around error check
--- a/src/i_system.c
+++ b/src/i_system.c
@@ -337,12 +337,8 @@
{
I_Error ("I_Realloc: failed on reallocation of %i bytes", size);
}
- else
- {
- ptr = new_ptr;
- }
- return ptr;
+ return new_ptr;
}
//