SDL_image: jpg: fix a few -Wunused-parameter warnings

From 25e816f614dbe4aa9fdaf89c248ae283f20038f9 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Tue, 26 Mar 2024 02:18:45 +0100
Subject: [PATCH] jpg: fix a few -Wunused-parameter warnings

---
 src/IMG_jpg.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/IMG_jpg.c b/src/IMG_jpg.c
index 2c66033e..c7264cb6 100644
--- a/src/IMG_jpg.c
+++ b/src/IMG_jpg.c
@@ -664,12 +664,14 @@ void IMG_QuitJPG(void)
 /* See if an image is contained in a data source */
 int IMG_isJPG(SDL_IOStream *src)
 {
+    (void)src;
     return(0);
 }
 
 /* Load a JPEG type image from an SDL datasource */
 SDL_Surface *IMG_LoadJPG_IO(SDL_IOStream *src)
 {
+    (void)src;
     return(NULL);
 }
 
@@ -765,6 +767,8 @@ int IMG_SaveJPG(SDL_Surface *surface, const char *file, int quality)
 int IMG_SaveJPG_IO(SDL_Surface *surface, SDL_IOStream *dst, int closeio, int quality)
 {
     int result = -1;
+    (void)surface;
+    (void)quality;
 
     if (!dst) {
         return IMG_SetError("Passed NULL dst");