Sfoglia il codice sorgente

testcolorspace.c: Fix unreachable code warning

Petar Popovic 1 anno fa
parent
commit
48c3ee2120
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  1. 0 4
      test/testcolorspace.c

+ 0 - 4
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;