Skip to content

Commit

Permalink
tst_TripleBuffer: Fix unused-but-set-variable warning for Xcode 13.4.…
Browse files Browse the repository at this point in the history
…1 and 14.1
  • Loading branch information
cdi-ableton committed Dec 12, 2022
1 parent f0692b2 commit c507a7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ableton/link/tst_TripleBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ void readValues(TripleBuffer<BigValue>& buffer, const uint32_t numOps)
{
const auto thisValue = buffer.read();

assert(thisValue.seed >= prevValueSeed);
assert(thisValue.values == BigValue{thisValue.seed}.values);
CHECK(thisValue.seed >= prevValueSeed);
CHECK(thisValue.values == BigValue{thisValue.seed}.values);

prevValueSeed = thisValue.seed;
}
Expand Down

0 comments on commit c507a7f

Please sign in to comment.