add use of missingSet in release build to silence warning

This commit is contained in:
ZappoMan 2014-09-13 08:02:38 -07:00
parent c5e02c4ec5
commit d10bd6857d

View file

@ -254,6 +254,9 @@ void SequenceNumberStatsTests::pruneTest() {
const QSet<quint16>& missingSet = stats.getMissingSet();
assert(missingSet.size() <= 1000);
if (missingSet.size() > 1000) {
qDebug() << "FAIL: missingSet larger than 1000.";
}
for (int i = 0; i < 10; i++) {
assert(missingSet.contains(highestSkipped2));