diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 3ec45c1d3e8..c18850bedd0 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2002-02-02 Paolo Carlini + + * testsuite/22_locale/operators.cc + (gnu_collate::do_compare()): Add return statement to + suppress "no return statement" warning. + 2002-02-01 Paolo Carlini * testsuite/27_io/ostream_manip.cc: Enable test02. diff --git a/libstdc++-v3/testsuite/22_locale/operators.cc b/libstdc++-v3/testsuite/22_locale/operators.cc index f21f157eede..9037dd872be 100644 --- a/libstdc++-v3/testsuite/22_locale/operators.cc +++ b/libstdc++-v3/testsuite/22_locale/operators.cc @@ -54,7 +54,7 @@ class gnu_collate: public ccollate protected: virtual int do_compare(const char*, const char*, const char*, const char*) const - { ++gnu_count; } + { ++gnu_count; return 0; } }; void test02()