Fix for compilation errors

Fix for compilation warnings of unused variables in upnpdebug.c in
release builds.
This commit is contained in:
Chandra Penke 2011-01-30 09:36:05 -02:00 committed by Marcelo Roberto Jimenez
parent c4e9757bcf
commit 6c125feea0
2 changed files with 8 additions and 2 deletions

View File

@ -2,7 +2,13 @@
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

View File

@ -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);