mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-28 03:26:15 +08:00
testcolorspace.c: Fix unreachable code warning
This commit is contained in:
committed by
Sam Lantinga
parent
8d6b397cd8
commit
48c3ee2120
@@ -126,10 +126,6 @@ static void PrevRenderer(void)
|
|||||||
|
|
||||||
static void NextStage(void)
|
static void NextStage(void)
|
||||||
{
|
{
|
||||||
if (StageCount <= 0) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
++stage_index;
|
++stage_index;
|
||||||
if (stage_index == StageCount) {
|
if (stage_index == StageCount) {
|
||||||
stage_index = 0;
|
stage_index = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user