Skip to content

Commit

Permalink
Remove redundant returns to keep clang-tidy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
hasty committed Jan 28, 2024
1 parent 3fae3b4 commit a951bf1
Showing 1 changed file with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ bool StubAccuracyIterator::Next(MeasurementAccuracyStruct::Type & output)
void StubAccuracyIterator::Release()
{
mIndex = 0;
return;
}

class StubRangeIterator : public Delegate::RangeIterator
Expand All @@ -85,10 +84,7 @@ bool StubRangeIterator::Next(MeasurementRangeStruct::Type & output)
return false;
}

void StubRangeIterator::Release()
{
return;
}
void StubRangeIterator::Release() {}

class StubHarmonicMeasurementIterator : public Delegate::HarmonicMeasurementIterator
{
Expand All @@ -108,10 +104,7 @@ bool StubHarmonicMeasurementIterator::Next(HarmonicMeasurementStruct::Type & out
return false;
}

void StubHarmonicMeasurementIterator::Release()
{
return;
}
void StubHarmonicMeasurementIterator::Release() {}

static StubAccuracyIterator accuracyIterator;
static StubRangeIterator rangeIterator;
Expand Down

0 comments on commit a951bf1

Please sign in to comment.