diff options
author | Memphiz <memphis@machzwo.de> | 2013-05-25 23:06:14 +0200 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2013-05-27 01:01:10 +0200 |
commit | 6567a1709ac25ccb6cdb05e8e5aaaa2b276a0eb2 (patch) | |
tree | c62fd4b2b4be3762e16c5af303e5d3d1807cbd43 /lib | |
parent | 2e7daed67b17cf9a546f44f2b31a8cfac0231156 (diff) |
[platinum] - fix shadowed local var
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp b/lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp index 7b465394f1..a8eb4e2a1f 100644 --- a/lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp +++ b/lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp @@ -215,8 +215,8 @@ PLT_StateVariable::ValidateValue(const char* value) (const char*)*val, (const char*)m_Name); for (unsigned long i=0; i < m_AllowedValues.GetItemCount(); i++) { - NPT_String *val = *m_AllowedValues.GetItem(i); - NPT_LOG_WARNING_1("Allowed: %s", (const char*)*val); + NPT_String *val2 = *m_AllowedValues.GetItem(i); + NPT_LOG_WARNING_1("Allowed: %s", (const char*)*val2); } #endif return NPT_ERROR_INVALID_PARAMETERS; |