From 850185f40139eb9ed100e2fb2e1f107c2e02c312 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Fri, 2 Jun 2017 22:15:23 +0200 Subject: [PATCH] Fixed crash if creating textures failed in testshape program. --- test/testshape.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/testshape.c b/test/testshape.c index c194fcb9c5fb7..77df8b58cdd7c 100644 --- a/test/testshape.c +++ b/test/testshape.c @@ -81,7 +81,6 @@ int main(int argc,char** argv) pictures[i].surface = SDL_LoadBMP(argv[i+1]); pictures[i].name = argv[i+1]; if(pictures[i].surface == NULL) { - j = 0; for(j=0;j