Fixed warnings about unused value in test program.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 20 Aug 2014 22:47:07 +0200
changeset 9103e8950fdc485f
parent 9102 a22458d5eed9
child 9104 8824a6a7ed69
Fixed warnings about unused value in test program.
test/testdrawchessboard.c
     1.1 --- a/test/testdrawchessboard.c	Wed Aug 20 22:44:15 2014 +0200
     1.2 +++ b/test/testdrawchessboard.c	Wed Aug 20 22:47:07 2014 +0200
     1.3 @@ -28,11 +28,11 @@
     1.4  	/* Get the Size of drawing surface */
     1.5  	SDL_RenderGetViewport(renderer, &darea);
     1.6  
     1.7 -	for(row; row < 8; row++)
     1.8 +	for( ; row < 8; row++)
     1.9  	{
    1.10  		coloum = row%2;
    1.11  		x = x + coloum;
    1.12 -		for(coloum; coloum < 4+(row%2); coloum++)
    1.13 +		for( ; coloum < 4+(row%2); coloum++)
    1.14  		{
    1.15  			SDL_SetRenderDrawColor(renderer, 0, 0, 0, 0xFF);
    1.16