aboutsummaryrefslogtreecommitdiff
path: root/lib/libUPnP
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2013-05-25 23:06:14 +0200
committermontellese <montellese@xbmc.org>2014-05-17 09:53:14 +0200
commitf9eff4bb16d36222c265681576707407627cf161 (patch)
tree12776388ab9b426677b16afc7450d273d44237af /lib/libUPnP
parenta6f7512f1d377a65fc5bf1976431454780d53d73 (diff)
platinum: fix shadowed local var
Diffstat (limited to 'lib/libUPnP')
-rw-r--r--lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp4
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 e303cc60e7..f733d5c351 100644
--- a/lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp
+++ b/lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp
@@ -216,8 +216,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;