소스 검색

testcolorspace.c: Fix unreachable code warning

Petar Popovic 1 년 전
부모
커밋
48c3ee2120
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  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;