From fe48aaeba282c95336583aa9dfe31c8c259480c6 Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Sat, 13 Oct 2012 22:29:07 +0100 Subject: [PATCH] Removed uneeded statements in LogicDataSnapshot test --- test/logicdatasnapshot.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/logicdatasnapshot.cpp b/test/logicdatasnapshot.cpp index 4f2c8651..3dd72285 100644 --- a/test/logicdatasnapshot.cpp +++ b/test/logicdatasnapshot.cpp @@ -355,7 +355,7 @@ BOOST_AUTO_TEST_CASE(LongPulses) for(int i = 0; i < Cycles; i++) { for(j = 0; j < PulseWidth; j++) *p++ = ~0; - for(j; j < Period; j++) + for(; j < Period; j++) *p++ = 0; } @@ -376,7 +376,7 @@ BOOST_AUTO_TEST_CASE(LongPulses) BOOST_CHECK_EQUAL(s.get_subsample(0, i++), ~0); } - for(j; i < s._mip_map[0].length && + for(; i < s._mip_map[0].length && j < Period/LogicDataSnapshot::MipMapScaleFactor; j++) { BOOST_TEST_MESSAGE( "Testing mip_map[0].data[" << i << "]"); -- 2.30.2