Skip to content

Commit

Permalink
Merge pull request #68 from podsvirov/fix-empty-body-noise3d
Browse files Browse the repository at this point in the history
Fix `-Wempty-body` warning at `Noise3D` sample
  • Loading branch information
danginsburg authored May 2, 2021
2 parents d5d8d3e + baaa258 commit 423d936
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 423d936

Please sign in to comment.