Skip to content

Commit a0cef0b

Browse files
author
FusixGit
committed
Update MemoryModule.c
Delete debug printfs
1 parent 2e8733a commit a0cef0b

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

MemoryModule.c

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -860,12 +860,7 @@ void MemoryFreeLibrary(HMEMORYMODULE mod)
860860
int MemoryCallEntryPoint(HMEMORYMODULE mod, MEMORYMODULE_START_ARGS *startArgs)
861861
{
862862
PMEMORYMODULE module = (PMEMORYMODULE)mod;
863-
if(module == NULL) printf("1");
864-
if( module->isDLL) printf("2");
865-
if(module->exeEntry == NULL) printf("3");
866-
if(!module->isRelocated) printf("4");
867-
868-
863+
869864
if (module == NULL || module->isDLL || module->exeEntry == NULL || !module->isRelocated)
870865
{
871866
return -1;
@@ -1988,11 +1983,6 @@ void MemoryFreeLibrary(HMEMORYMODULE mod)
19881983
int MemoryCallEntryPoint(HMEMORYMODULE mod, MEMORYMODULE_START_ARGS *startArgs)
19891984
{
19901985
PMEMORYMODULE module = (PMEMORYMODULE)mod;
1991-
if(module == NULL) printf("1");
1992-
if( module->isDLL) printf("2");
1993-
if(module->exeEntry == NULL) printf("3");
1994-
if(!module->isRelocated) printf("4");
1995-
19961986

19971987
if (module == NULL || module->isDLL || module->exeEntry == NULL || !module->isRelocated)
19981988
{

0 commit comments

Comments
 (0)