diff options
author | Paolo Carlini <pcarlini@unitus.it> | 2002-02-02 14:46:47 +0100 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2002-02-02 13:46:47 +0000 |
commit | b6f642d59c96c8596a3fd3f15251d6e358580201 (patch) | |
tree | f9ece4b7a0f92c1f4e07c8b231b0d572d37eba24 | |
parent | 866c9e660e77bfdc81f98e8114cbd51204022cc1 (diff) | |
download | gcc-b6f642d59c96c8596a3fd3f15251d6e358580201.zip gcc-b6f642d59c96c8596a3fd3f15251d6e358580201.tar.gz gcc-b6f642d59c96c8596a3fd3f15251d6e358580201.tar.bz2 |
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.
From-SVN: r49441
-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() |