SW_RenderGeometry: add a redundant check to clear static analysis (see bug #4600)
diff --git a/src/render/SDL_render.c b/src/render/SDL_render.c
index e8021a0..6b30e88 100644
--- a/src/render/SDL_render.c
+++ b/src/render/SDL_render.c
@@ -3452,6 +3452,7 @@ SDL_SW_RenderGeometryRaw(SDL_Renderer *renderer,
}
prev[0] = -1; prev[1] = -1; prev[2] = -1;
+ size_indices = indices ? size_indices : 0;
for (i = 0; i < count; i += 3) {
int k0, k1, k2; /* Current triangle indices */