1 From f9eff4bb16d36222c265681576707407627cf161 Mon Sep 17 00:00:00 2001
2 From: Memphiz <memphis@machzwo.de>
3 Date: Sat, 25 May 2013 23:06:14 +0200
4 Subject: [PATCH 21/24] platinum: fix shadowed local var
7 lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
10 diff --git a/lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp b/lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp
11 index e303cc6..f733d5c 100644
12 --- a/lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp
13 +++ b/lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp
14 @@ -216,8 +216,8 @@ PLT_StateVariable::ValidateValue(const char* value)
17 for (unsigned long i=0; i < m_AllowedValues.GetItemCount(); i++) {
18 - NPT_String *val = *m_AllowedValues.GetItem(i);
19 - NPT_LOG_WARNING_1("Allowed: %s", (const char*)*val);
20 + NPT_String *val2 = *m_AllowedValues.GetItem(i);
21 + NPT_LOG_WARNING_1("Allowed: %s", (const char*)*val2);
24 return NPT_ERROR_INVALID_PARAMETERS;