Skip to content

Commit

Permalink
Fixed warning: unused variable 'success'
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 22, 2025
1 parent d22f791 commit 4dd59a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IMG.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ SDL_Surface *IMG_LoadTyped_IO(SDL_IOStream *src, bool closeio, const char *type)
/*load through preloadedImages*/
FILE *fp = (FILE *)SDL_GetPointerProperty(SDL_GetIOProperties(src), SDL_PROP_IOSTREAM_STDIO_FILE_POINTER, NULL);
if (fp) {
int w, h, success;
int w, h;
char *data;
SDL_Surface *surf;

Expand Down

0 comments on commit 4dd59a3

Please sign in to comment.