Remove redundant statements

This commit is contained in:
N 2021-02-18 20:09:09 -05:00 committed by huderlem
parent cab3728e96
commit 6c07031c85

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)
{ {