Fix for compilation errors
Fix for compilation warnings of unused variables in upnpdebug.c in release builds.
This commit is contained in:
parent
c4e9757bcf
commit
6c125feea0
@ -2,7 +2,13 @@
|
|||||||
Version 1.6.11
|
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>
|
2011-01-20 Chandra Penke <chandrapenke(at)mcntech.com>
|
||||||
|
|
||||||
Fix for Race condition can hang miniserver thread.
|
Fix for Race condition can hang miniserver thread.
|
||||||
|
|
||||||
Add 'requiredThreads' field to the ThreadPool structure, to avoid
|
Add 'requiredThreads' field to the ThreadPool structure, to avoid
|
||||||
|
@ -45,6 +45,8 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
|
|
||||||
/*! Mutex to synchronize all the log file opeartions in the debug mode */
|
/*! Mutex to synchronize all the log file opeartions in the debug mode */
|
||||||
static ithread_mutex_t GlobalDebugMutex;
|
static ithread_mutex_t GlobalDebugMutex;
|
||||||
|
|
||||||
@ -63,8 +65,6 @@ static const char *errFileName = "IUpnpErrFile.txt";
|
|||||||
/*! Name of the info file */
|
/*! Name of the info file */
|
||||||
static const char *infoFileName = "IUpnpInfoFile.txt";
|
static const char *infoFileName = "IUpnpInfoFile.txt";
|
||||||
|
|
||||||
#ifdef DEBUG
|
|
||||||
|
|
||||||
int UpnpInitLog(void)
|
int UpnpInitLog(void)
|
||||||
{
|
{
|
||||||
ithread_mutex_init(&GlobalDebugMutex, NULL);
|
ithread_mutex_init(&GlobalDebugMutex, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user