blob: f81b60902d4111e5143e2a93efa44d1547bf3bf4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
From f9eff4bb16d36222c265681576707407627cf161 Mon Sep 17 00:00:00 2001
From: Memphiz <memphis@machzwo.de>
Date: Sat, 25 May 2013 23:06:14 +0200
Subject: [PATCH 21/24] platinum: fix shadowed local var
---
lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp b/lib/libUPnP/Platinum/Source/Core/PltStateVariable.cpp
index e303cc6..f733d5c 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;
--
1.7.11.msysgit.0
|