]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Revert revision 120457.
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Jan 2007 00:03:35 +0000 (00:03 +0000)
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Jan 2007 00:03:35 +0000 (00:03 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120458 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/src/strstream.cc

index d8bc1126d680c9071d4689097b3bf44f570e53c5..d1a799555531b704ed33eff3b9136927f3f86b8a 100644 (file)
@@ -1,8 +1,3 @@
-2007-01-05  Ben Elliston  <bje@au.ibm.com>
-
-       * src/strstream.cc (strstreambuf::seekoff): Add parentheses around
-       truth expression to eliminate a new warning from g++.
-
 2006-12-29  Paolo Carlini  <pcarlini@suse.de>
 
        PR libstdc++/30226
index 3c5d8be839e963100be3d443396cd9fb20c54242..f2214549ab7ccac12ddc0625614ff2b31ab0e090 100644 (file)
@@ -235,7 +235,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
     if ((mode & (ios_base::in | ios_base::out)) 
        == (ios_base::in | ios_base::out) &&
        (dir == ios_base::beg || dir == ios_base::end))
-      do_get = (do_put = true);
+      do_get = do_put = true;
     else if (mode & ios_base::in)
       do_get = true;
     else if (mode & ios_base::out)