[test] Patch to eliminate warning about dummy_cond.

Hello, attached patch eliminates the following GCC warning, when including test_tools.hpp: warning: 'boost::test_tools::<unnamed>::dummy_cond' defined but not used OK to commit? Regards, Markus Index: test_tools.hpp =================================================================== --- test_tools.hpp (revision 46035) +++ test_tools.hpp (working copy) @@ -299,7 +299,7 @@ typedef unit_test::const_string const_string; -namespace { bool dummy_cond = false; } +namespace { bool const dummy_cond = false; } namespace tt_detail {

Markus Schöpflin <markus.schoepflin <at> comsoft.de> writes:
Hello,
attached patch eliminates the following GCC warning, when including test_tools.hpp:
warning: 'boost::test_tools::<unnamed>::dummy_cond' defined but not used
OK to commit? -namespace { bool dummy_cond = false; } +namespace { bool const dummy_cond = false; }
Go ahead. Gennadiy
participants (2)
-
Gennadiy Rozental
-
Markus Schöpflin