Fix for compilation errors
Fix for compilation warnings of unused variables in upnpdebug.c in release builds.
This commit is contained in:

committed by
Marcelo Roberto Jimenez

parent
c4e9757bcf
commit
6c125feea0
@@ -45,6 +45,8 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
/*! Mutex to synchronize all the log file opeartions in the debug mode */
|
||||
static ithread_mutex_t GlobalDebugMutex;
|
||||
|
||||
@@ -63,8 +65,6 @@ static const char *errFileName = "IUpnpErrFile.txt";
|
||||
/*! Name of the info file */
|
||||
static const char *infoFileName = "IUpnpInfoFile.txt";
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
int UpnpInitLog(void)
|
||||
{
|
||||
ithread_mutex_init(&GlobalDebugMutex, NULL);
|
||||
|
Reference in New Issue
Block a user