4d20e251fb
- Remove all patches (already in version)
- udev is an optional dependency (disabled by default) since
89d5b3989f
- Add an upstream patch to fix build
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
27 lines
1.0 KiB
Diff
27 lines
1.0 KiB
Diff
From 3b029a467e83bc7f0054e4dbba1e77e6eac7bc7f Mon Sep 17 00:00:00 2001
|
|
From: Justin Hammond <Justin@dynam.ac>
|
|
Date: Sat, 4 May 2019 02:58:15 +0800
|
|
Subject: [PATCH] Fix issue #1783 - Most Compilers Get it, Some need a little
|
|
help
|
|
|
|
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
[Retrieved from
|
|
https://github.com/OpenZWave/open-zwave/commit/3b029a467e83bc7f0054e4dbba1e77e6eac7bc7f]
|
|
---
|
|
cpp/src/CompatOptionManager.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/cpp/src/CompatOptionManager.cpp b/cpp/src/CompatOptionManager.cpp
|
|
index 90c87b54d..2d9ac435e 100644
|
|
--- a/cpp/src/CompatOptionManager.cpp
|
|
+++ b/cpp/src/CompatOptionManager.cpp
|
|
@@ -237,7 +237,7 @@ void CompatOptionManager::WriteXML
|
|
{
|
|
TiXmlElement* valElement = new TiXmlElement( it->first.c_str() );
|
|
char str[32];
|
|
- TiXmlText * text;
|
|
+ TiXmlText * text = NULL;
|
|
// std::cout << "Name " << it->first << " Type: " << m_CompatVals[it->second].type << std::endl;
|
|
switch (m_CompatVals[it->second].type) {
|
|
case COMPAT_FLAG_TYPE_BOOL:
|