Skip to content

Commit

Permalink
Redundant code?
Browse files Browse the repository at this point in the history
  • Loading branch information
Mystro256 committed Dec 30, 2016
1 parent 7788e6f commit 7bc7ff5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fex/7z_C/7zAlloc.c
Expand Up @@ -20,7 +20,6 @@ int g_allocCountTemp = 0;

void* SzAlloc(void* p, size_t size)
{
p = p;
if (size == 0)
return 0;
#ifdef _SZ_ALLOC_DEBUG
Expand All @@ -32,7 +31,6 @@ void* SzAlloc(void* p, size_t size)

void SzFree(void* p, void* address)
{
p = p;
#ifdef _SZ_ALLOC_DEBUG
if (address != 0) {
g_allocCount--;
Expand All @@ -44,7 +42,6 @@ void SzFree(void* p, void* address)

void* SzAllocTemp(void* p, size_t size)
{
p = p;
if (size == 0)
return 0;
#ifdef _SZ_ALLOC_DEBUG
Expand All @@ -59,7 +56,6 @@ void* SzAllocTemp(void* p, size_t size)

void SzFreeTemp(void* p, void* address)
{
p = p;
#ifdef _SZ_ALLOC_DEBUG
if (address != 0) {
g_allocCountTemp--;
Expand Down

0 comments on commit 7bc7ff5

Please sign in to comment.