Skip to content

Commit

Permalink
Compare double directly to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
drowaudio committed Dec 9, 2024
1 parent 07a49d4 commit 00fd4fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/TestUtilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ struct ScopedPluginDeinitialiser

~ScopedPluginDeinitialiser()
{
if (blockSize != 0 && sampleRate != 0.0)
if (blockSize != 0 && sampleRate != 0)
callPrepareToPlayOnMessageThreadIfVST3 (instance, sampleRate, blockSize);
}

Expand Down

0 comments on commit 00fd4fb

Please sign in to comment.