testcolorspace.c: Fix unreachable code warning

This commit is contained in:
Petar Popovic authored and Sam Lantinga committed 2024-09-27 15:22:24 -07:00
1 parent 8d6b397cd8
commit 48c3ee2120
1 file changed
-4
-4
View File
@@ -126,10 +126,6 @@ static void PrevRenderer(void)
static void NextStage(void)
{
if (StageCount <= 0) {
return;
}
++stage_index;
if (stage_index == StageCount) {
stage_index = 0;