summaryrefslogtreecommitdiff
path: root/cosv
diff options
context:
space:
mode:
authorPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-09-04 19:53:21 +0200
committerPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-09-06 22:41:49 +0200
commit7f90f8af5fbaf2305c6e9da58fb6a0e36b2c331e (patch)
tree6ad047fbac519f2b566ba8b0c7e7f2ad3658e34d /cosv
parent48f69c30721c424dfce98bf6486400df72ab82f7 (diff)
[cppchecker] deletion of supperfluous variable
Diffstat (limited to 'cosv')
-rw-r--r--cosv/source/strings/streamstr.cxx3
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)