re PR libstdc++/11990 ("operand of conditional has no effect" warnings in libstdc++)
authorNathan Myers <ncm@cantrip.org>
Fri, 29 Aug 2003 17:40:12 +0000 (17:40 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 29 Aug 2003 17:40:12 +0000 (17:40 +0000)
2003-08-29  Nathan Myers  <ncm@cantrip.org>

PR libstdc++/11990
* include/bits/locale_facets.tcc (__pad): delete dead code.

From-SVN: r70915

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.tcc

index 0c8820a0e729b34ba1c43413d89746898d339b05..139a75382e5d7b6b4a8fee8e608ddfff2f8fa7ea 100644 (file)
@@ -1,3 +1,8 @@
+2003-08-29  Nathan Myers  <ncm@cantrip.org>
+       
+       PR libstdc++/11990      
+       * include/bits/locale_facets.tcc (__pad): delete dead code.
+
 2003-08-28  Alan Modra  <amodra@bigpond.net.au>
 
        * configure.ac: Test $with_cross_host against $build_alias, not $build.
index 46ee3a425ea11e6bea8083d084e4c682bdc82bd8..e76ac84ea71e9db7554fa05765f1b2c70a17ab77 100644 (file)
@@ -2238,7 +2238,7 @@ namespace std
            }
          else if (__testsign)
            {
-             _Traits::eq((__news[0] = __olds[0]), __plus) ? __plus : __minus;
+             __news[0] = __olds[0];
              ++__mod;
              ++__news;
              __beg = __pads;