Commit ed5435034d53e31a519d7ae4c5b213e8c3ed568e

Philipp Wiesemann 2014-08-20T22:47:07

Fixed warnings about unused value in test program.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/test/testdrawchessboard.c b/test/testdrawchessboard.c
index 3e6179e..d4548ea 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);