Skip to content

Commit

Permalink
Fix -Wempty-body warning at Noise3D sample
Browse files Browse the repository at this point in the history
at `Noise3D` sample
  • Loading branch information
podsvirov committed May 2, 2021
1 parent d5d8d3e commit baaa258
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Chapter_14/Noise3D/Noise3D.c
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,7 @@ void Shutdown ( ESContext *esContext )
free ( userData->indices );
}

if ( userData->texCoords != NULL );

if ( userData->texCoords != NULL )
{
free ( userData->texCoords );
}
Expand Down

0 comments on commit baaa258

Please sign in to comment.