From 48c3ee21200a8b34fc9012025d7ba2c38713cb63 Mon Sep 17 00:00:00 2001
From: Petar Popovic <[EMAIL REDACTED]>
Date: Fri, 27 Sep 2024 23:44:14 +0200
Subject: [PATCH] testcolorspace.c: Fix unreachable code warning
---
test/testcolorspace.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/test/testcolorspace.c b/test/testcolorspace.c
index a1e4deff40e3d..152d639c4b8d3 100644
--- a/test/testcolorspace.c
+++ b/test/testcolorspace.c
@@ -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;