Christoph Mallon: Remove pointless if (x) before SDL_free(x)

This commit is contained in:
Sam Lantinga
2013-08-29 08:29:21 -07:00
parent 1d2c7796ae
commit f79fc33a39
63 changed files with 157 additions and 349 deletions

View File

@@ -843,7 +843,7 @@ SDL_iconv(SDL_iconv_t cd,
int
SDL_iconv_close(SDL_iconv_t cd)
{
if (cd && cd != (SDL_iconv_t) - 1) {
if (cd != (SDL_iconv_t)-1) {
SDL_free(cd);
}
return 0;