diff options
author | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-09-04 19:53:21 +0200 |
---|---|---|
committer | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-09-06 22:41:49 +0200 |
commit | 7f90f8af5fbaf2305c6e9da58fb6a0e36b2c331e (patch) | |
tree | 6ad047fbac519f2b566ba8b0c7e7f2ad3658e34d /cosv/source | |
parent | [cppchecker] deletion of unread / unneeded variable (diff) | |
download | core-7f90f8af5fbaf2305c6e9da58fb6a0e36b2c331e.tar.gz core-7f90f8af5fbaf2305c6e9da58fb6a0e36b2c331e.zip |
[cppchecker] deletion of supperfluous variable
Diffstat (limited to 'cosv/source')
-rw-r--r-- | cosv/source/strings/streamstr.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cosv/source/strings/streamstr.cxx b/cosv/source/strings/streamstr.cxx index 7fe0d35cefae..f13f13dacc54 100644 --- a/cosv/source/strings/streamstr.cxx +++ b/cosv/source/strings/streamstr.cxx @@ -419,9 +419,8 @@ StreamStr::operator_read_line( bstream & i_src ) operator<<(c); } - bool bEndOfStream = nCount == 0; // Check for line-end: - if ( NOT bEndOfStream AND c != 0 ) + if ( NOT (nCount == 0) AND c != 0 ) { char oldc = c; if (i_src.read(&c, 1) == 1) |