diff --git a/ChangeLog b/ChangeLog index 518235a..0b12d3a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,7 +2,13 @@ Version 1.6.11 ******************************************************************************* +2011-01-30 Chandra Penke + + Fix for compilation warnings of unused variables in upnpdebug.c in + release builds. + 2011-01-20 Chandra Penke + Fix for Race condition can hang miniserver thread. Add 'requiredThreads' field to the ThreadPool structure, to avoid diff --git a/upnp/src/api/upnpdebug.c b/upnp/src/api/upnpdebug.c index 04cc254..b3dee52 100644 --- a/upnp/src/api/upnpdebug.c +++ b/upnp/src/api/upnpdebug.c @@ -45,6 +45,8 @@ #include #include +#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);