diff options
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/22_locale/operators.cc | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 3ec45c1..c18850b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2002-02-02 Paolo Carlini <pcarlini@unitus.it> + + * testsuite/22_locale/operators.cc + (gnu_collate::do_compare()): Add return statement to + suppress "no return statement" warning. + 2002-02-01 Paolo Carlini <pcarlini@unitus.it> * 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 f21f157..9037dd8 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() |