From ed5435034d53e31a519d7ae4c5b213e8c3ed568e Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Wed, 20 Aug 2014 22:47:07 +0200 Subject: [PATCH] Fixed warnings about unused value in test program. --- test/testdrawchessboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testdrawchessboard.c b/test/testdrawchessboard.c index 3e6179e14..d4548ea92 100644 --- a/test/testdrawchessboard.c +++ b/test/testdrawchessboard.c @@ -28,11 +28,11 @@ DrawChessBoard(SDL_Renderer * renderer) /* Get the Size of drawing surface */ SDL_RenderGetViewport(renderer, &darea); - for(row; row < 8; row++) + for( ; row < 8; row++) { coloum = row%2; x = x + coloum; - for(coloum; coloum < 4+(row%2); coloum++) + for( ; coloum < 4+(row%2); coloum++) { SDL_SetRenderDrawColor(renderer, 0, 0, 0, 0xFF);