Browse Source

Fixed warnings about unused value in test program.

Philipp Wiesemann 10 years ago
parent
commit
ed5435034d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test/testdrawchessboard.c

+ 2 - 2
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);