blob: 0d3b78ab66b1887d36bf38ca83d4fe61f5ba4e2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -u CompatOptionManager.cpp-orig CompatOptionManager.cpp
--- CompatOptionManager.cpp-orig 2019-06-05 08:20:29.837235450 -0400
+++ CompatOptionManager.cpp 2019-06-05 08:20:53.757883997 -0400
@@ -237,7 +237,7 @@
{
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:
|