aboutsummaryrefslogtreecommitdiff
path: root/lib/libUPnP/patches/0021-platinum-fix-shadowed-local-var.patch
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2014-01-09 22:19:48 +0100
committermontellese <montellese@xbmc.org>2014-01-28 16:56:42 +0100
commite1c49a018e5bbed0533f8fd22a54e3645281ffa0 (patch)
treebe9e81d8dcb58c7cebe7889cf1707ca1efb1bd0d /lib/libUPnP/patches/0021-platinum-fix-shadowed-local-var.patch
parentb6d31a3f32ea69f948ff4d020741ee1b986b1544 (diff)
platinum: add all currently applied patches
Diffstat (limited to 'lib/libUPnP/patches/0021-platinum-fix-shadowed-local-var.patch')
-rw-r--r--lib/libUPnP/patches/0021-platinum-fix-shadowed-local-var.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/libUPnP/patches/0021-platinum-fix-shadowed-local-var.patch b/lib/libUPnP/patches/0021-platinum-fix-shadowed-local-var.patch
new file mode 100644
index 0000000000..201377eb56
--- /dev/null
+++ b/lib/libUPnP/patches/0021-platinum-fix-shadowed-local-var.patch
@@ -0,0 +1,27 @@
+From dc013f1ce379537617080a93ccb155ab1dc2f24a Mon Sep 17 00:00:00 2001
+From: Memphiz <memphis@machzwo.de>
+Date: Sat, 25 May 2013 23:06:14 +0200
+Subject: [PATCH 06/21] [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 7b46539..a8eb4e2 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;
+--
+1.7.11.msysgit.0
+