strstream.cc (strstreambuf::seekoff): Add parentheses around truth expression to eliminate a new warning from g++.
* src/strstream.cc (strstreambuf::seekoff): Add parentheses around truth expression to eliminate a new warning from g++. From-SVN: r120457
This commit is contained in:
parent
b0088af7b1
commit
93c5d31c00
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue