From 7f90f8af5fbaf2305c6e9da58fb6a0e36b2c331e Mon Sep 17 00:00:00 2001 From: Pierre-André Jacquod Date: Sun, 4 Sep 2011 19:53:21 +0200 Subject: [cppchecker] deletion of supperfluous variable --- cosv/source/strings/streamstr.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cosv') 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) -- cgit