Remove redundant statements

This commit is contained in:
N authored and huderlem committed 2021-02-28 10:06:07 -06:00
1 parent cab3728e96
commit 6c07031c85
1 file changed
-2
-2
View File
@@ -55,12 +55,10 @@ const struct SpriteTemplate gItemIconSpriteTemplate =
// code // code
bool8 AllocItemIconTemporaryBuffers(void) bool8 AllocItemIconTemporaryBuffers(void)
{ {
gItemIconDecompressionBuffer = gItemIconDecompressionBuffer; // needed to match
gItemIconDecompressionBuffer = Alloc(0x120); gItemIconDecompressionBuffer = Alloc(0x120);
if (gItemIconDecompressionBuffer == NULL) if (gItemIconDecompressionBuffer == NULL)
return FALSE; return FALSE;
gItemIcon4x4Buffer = gItemIcon4x4Buffer; // needed to match
gItemIcon4x4Buffer = AllocZeroed(0x200); gItemIcon4x4Buffer = AllocZeroed(0x200);
if (gItemIcon4x4Buffer == NULL) if (gItemIcon4x4Buffer == NULL)
{ {