testcolorspace.c: Fix unreachable code warning

This commit is contained in:
Petar Popovic 2024-09-27 23:44:14 +02:00 committed by Sam Lantinga
parent 8d6b397cd8
commit 48c3ee2120

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;