1 From a6f7512f1d377a65fc5bf1976431454780d53d73 Mon Sep 17 00:00:00 2001
2 From: davilla <davilla@4pi.com>
3 Date: Thu, 11 Apr 2013 13:22:36 -0400
4 Subject: [PATCH 20/24] platinum: fixed compiler warning about unused var
7 lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp | 2 ++
8 1 file changed, 2 insertions(+)
10 diff --git a/lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp b/lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp
11 index d38392e..e303cc6 100644
12 --- a/lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp
13 +++ b/lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp
14 @@ -211,6 +211,7 @@ PLT_StateVariable::ValidateValue(const char* value)
17 if (!m_AllowedValues.Find(NPT_StringFinder(*val))) {
18 +#if defined(NPT_CONFIG_ENABLE_LOGGING)
19 NPT_LOG_WARNING_2("Invalid value of %s for state variable %s",
22 @@ -218,6 +219,7 @@ PLT_StateVariable::ValidateValue(const char* value)
23 NPT_String *val = *m_AllowedValues.GetItem(i);
24 NPT_LOG_WARNING_1("Allowed: %s", (const char*)*val);
27 return NPT_ERROR_INVALID_PARAMETERS;