Skip to content

Commit

Permalink
Need a return value here
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed May 13, 2006
1 parent 52297ee commit 83a4ce2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions IMG_jpg.c
Expand Up @@ -153,6 +153,8 @@ int IMG_InitJPG()
lib.jpeg_std_error = jpeg_std_error;
}
++lib.loaded;

return 0;
}
void IMG_QuitJPG()
{
Expand Down
2 changes: 2 additions & 0 deletions IMG_png.c
Expand Up @@ -249,6 +249,8 @@ int IMG_InitPNG()
lib.png_sig_cmp = png_sig_cmp;
}
++lib.loaded;

return 0;
}
void IMG_QuitPNG()
{
Expand Down
2 changes: 2 additions & 0 deletions IMG_tif.c
Expand Up @@ -109,6 +109,8 @@ int IMG_InitTIF()
lib.TIFFSetErrorHandler = TIFFSetErrorHandler;
}
++lib.loaded;

return 0;
}
void IMG_QuitTIF()
{
Expand Down

0 comments on commit 83a4ce2

Please sign in to comment.