Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed warnings about unused value in test program.
  • Loading branch information
philippwiesemann committed Aug 20, 2014
1 parent a0cdcb0 commit ed54350
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/testdrawchessboard.c
Expand Up @@ -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);

Expand Down

0 comments on commit ed54350

Please sign in to comment.