Fix for compilation errors
Fix for compilation warnings of unused variables in upnpdebug.c in release builds. (cherry picked from commit 6c125feea094389ff528a50310e49cd686866c25)
This commit is contained in:
parent
a2eca3b19d
commit
40239ca44a
@ -255,7 +255,13 @@ Version 1.8.0
|
||||
Version 1.6.11
|
||||
*******************************************************************************
|
||||
|
||||
2011-01-30 Chandra Penke <chandrapenke(at)mcntech.com>
|
||||
|
||||
Fix for compilation warnings of unused variables in upnpdebug.c in
|
||||
release builds.
|
||||
|
||||
2011-01-20 Chandra Penke <chandrapenke(at)mcntech.com>
|
||||
|
||||
Fix for Race condition can hang miniserver thread.
|
||||
|
||||
Add 'requiredThreads' field to the ThreadPool structure, to avoid
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user