Corrected two missuse of #ifdef CAUDIO_USE_MMGR

This commit is contained in:
Raynaldo Rivera 2010-02-23 01:14:30 +00:00
parent fe2d4c9e8b
commit 73db60b26e
1 changed files with 0 additions and 4 deletions

View File

@ -258,7 +258,6 @@ static void doCleanupLogOnFirstRun();
static void log(const char *format, ...)
{
#ifdef CAUDIO_USE_MMGR
// Cleanup the log?
if (cleanupLogOnFirstRun) doCleanupLogOnFirstRun();
@ -285,7 +284,6 @@ static void log(const char *format, ...)
fprintf(fp, "%s\r\n", buffer);
fclose(fp);
#endif
}
@ -536,7 +534,6 @@ static void dumpAllocations(FILE *fp)
static void dumpLeakReport()
{
#ifdef CAUDIO_USE_MMGR
// Open the report file
FILE *fp = fopen(memoryLeakLogFile, "w+b");
@ -589,7 +586,6 @@ static void dumpLeakReport()
}
fclose(fp);
#endif
}
// ---------------------------------------------------------------------------------------------------------------------------------