Fix valgrind detected issues

This commit is contained in:
jzmaddock
2015-10-23 13:07:04 +01:00
parent 7cbef4a79b
commit 6b36c9a7c6

View File

@ -64,6 +64,8 @@ test_locale::test_locale(const char* c_name, boost::uint32_t lcid)
std::cout << "The C++ locale: " << c_name << " is not available and will not be tested." << std::endl; std::cout << "The C++ locale: " << c_name << " is not available and will not be tested." << std::endl;
} }
#else #else
m_old_cpp_locale = s_cpp_locale_inst;
m_old_cpp_state = s_cpp_locale;
s_cpp_locale = no_test; s_cpp_locale = no_test;
#endif #endif