Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[platinum] - fix shadowed local var

  • Loading branch information...
commit 6567a1709ac25ccb6cdb05e8e5aaaa2b276a0eb2 1 parent 2e7daed
@Memphiz Memphiz authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp
View
4 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;

0 comments on commit 6567a17

Please sign in to comment.
Something went wrong with that request. Please try again.