diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-01-27 21:07:03 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-01-27 23:11:41 +0100 |
commit | c3488487752d2083b9e8a45266fdc40df84be686 (patch) | |
tree | 2dd73a72d4e444ab8e6621a1f1daef5a3c58688e /cosv | |
parent | d5d202709f164edeb33e7cac7ddf5a8aa59f19ee (diff) |
Fix ret value never used
Change-Id: Ia1c1bf8d1eba3195f5eae2148d4c8c1ce2489140
Diffstat (limited to 'cosv')
-rw-r--r-- | cosv/source/unittest/string_ut.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cosv/source/unittest/string_ut.cxx b/cosv/source/unittest/string_ut.cxx index 95335e538f21..f2d8d514dc79 100644 --- a/cosv/source/unittest/string_ut.cxx +++ b/cosv/source/unittest/string_ut.cxx @@ -46,8 +46,6 @@ check_value( const String & a, const char * b ) bool classtest_String( csv::SimpleString & rSimpleString ) { - bool ret = true; - String x1; UT_CHECK( String(), check_value(x1,"") ) @@ -61,9 +59,9 @@ classtest_String( csv::SimpleString & rSimpleString ) bool ret = ftest_Read( rSimpleString ); - ret = ftest_Write( rSimpleString ) AND ret; - ret = ftest_SeekBack( rSimpleString ) AND ret; - ret = ftest_SeekRelative( rSimpleString ) AND ret; + ret &= ftest_Write( rSimpleString ) AND ret; + ret &= ftest_SeekBack( rSimpleString ) AND ret; + ret &= ftest_SeekRelative( rSimpleString ) AND ret; rSimpleString.Close(); |