Skip to content

Commit

Permalink
[platinum] - fix shadowed local var
Browse files Browse the repository at this point in the history
  • Loading branch information
Memphiz committed May 26, 2013
1 parent 2e7daed commit 6567a17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 6567a17

Please sign in to comment.