mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-16 06:45:59 +00:00
Christoph Mallon: Remove pointless if (x) before SDL_free(x)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user