forked from boostorg/regex
Suppress msvc warnings.
Fixes: https://github.com/boostorg/regex/issues/80
This commit is contained in:
@ -112,7 +112,7 @@ private:
|
||||
boost::call_once(f,&init_data);
|
||||
return do_get_data();
|
||||
#else
|
||||
static data_type d;
|
||||
static data_type d = {};
|
||||
return d;
|
||||
#endif
|
||||
}
|
||||
|
@ -99,7 +99,7 @@ void do_test(const charT& c, const tagT& tag)
|
||||
boost::call_once(f, proc);
|
||||
#endif
|
||||
if(test_locale::cpp_locale_state() == test_locale::test_with_locale)
|
||||
e1.imbue(test_locale::cpp_locale());
|
||||
(void)e1.imbue(test_locale::cpp_locale());
|
||||
if(test_locale::cpp_locale_state() != test_locale::no_test)
|
||||
test(e1, tag);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user