OSDN Git Service

2002-02-02 Paolo Carlini <pcarlini@unitus.it>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 2 Feb 2002 13:46:47 +0000 (13:46 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 2 Feb 2002 13:46:47 +0000 (13:46 +0000)
* testsuite/22_locale/operators.cc
(gnu_collate::do_compare()): Add return statement to
suppress "no return statement" warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49441 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/22_locale/operators.cc

index 3ec45c1..c18850b 100644 (file)
@@ -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.
index f21f157..9037dd8 100644 (file)
@@ -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()