istream.tcc (istream::ignore): Fix for -Wuninitialized.
2004-06-10 Aaron W. LaFramboise <aaronraolete36@aaronwl.com> * include/bits/istream.tcc (istream::ignore): Fix for -Wuninitialized. From-SVN: r82939
This commit is contained in:
parent
aa6c7c3a3a
commit
bdd2a210b8
|
@ -1,3 +1,7 @@
|
|||
2004-06-10 Aaron W. LaFramboise <aaronraolete36@aaronwl.com>
|
||||
|
||||
* include/bits/istream.tcc (istream::ignore): Fix for -Wuninitialized.
|
||||
|
||||
2004-06-10 Jan van Dijk <jan@etpmod.phys.tue.nl>
|
||||
|
||||
* include/std/std_complex.h (sin(const complex<_Tp>& __z)): Make
|
||||
|
|
|
@ -655,7 +655,7 @@ namespace std
|
|||
{
|
||||
const int_type __eof = traits_type::eof();
|
||||
__streambuf_type* __sb = this->rdbuf();
|
||||
int_type __c;
|
||||
int_type __c = __eof;
|
||||
|
||||
if (__n != numeric_limits<streamsize>::max())
|
||||
--__n;
|
||||
|
|
Loading…
Reference in New Issue