SDL_image: Fix unused parameter warning

From 513773e2adbadcd3292315c78a7850bf52ba0030 Mon Sep 17 00:00:00 2001
From: David Demelier <[EMAIL REDACTED]>
Date: Thu, 23 Feb 2023 14:15:32 +0100
Subject: [PATCH] Fix unused parameter warning

---
 IMG_tif.c  |  4 ++++
 IMG_webp.c | 13 ++++++++++---
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/IMG_tif.c b/IMG_tif.c
index 6a85fc15..77b5e9a7 100644
--- a/IMG_tif.c
+++ b/IMG_tif.c
@@ -235,12 +235,16 @@ void IMG_QuitTIF()
 /* See if an image is contained in a data source */
 int IMG_isTIF(SDL_RWops *src)
 {
+    (void)src;
+
     return(0);
 }
 
 /* Load a TIFF type image from an SDL datasource */
 SDL_Surface *IMG_LoadTIF_RW(SDL_RWops *src)
 {
+    (void)src;
+
     return(NULL);
 }
 
diff --git a/IMG_webp.c b/IMG_webp.c
index f40bd930..d23c8b55 100644
--- a/IMG_webp.c
+++ b/IMG_webp.c
@@ -207,7 +207,7 @@ SDL_Surface *IMG_LoadWEBP_RW(SDL_RWops *src)
     } else {
        format = SDL_PIXELFORMAT_RGB24;
     }
-    
+
     surface = SDL_CreateSurface(features.width, features.height, format);
     if (surface == NULL) {
         error = "Failed to allocate SDL_Surface";
@@ -302,7 +302,7 @@ IMG_Animation *IMG_LoadWEBPAnimation_RW(SDL_RWops *src)
     } else {
        format = SDL_PIXELFORMAT_RGB24;
     }
-    
+
     wd.size = raw_data_size;
     wd.bytes = raw_data;
     dmuxer = lib.WebPDemuxInternal(&wd, 0, NULL, WEBP_DEMUX_ABI_VERSION);
@@ -386,16 +386,23 @@ void IMG_QuitWEBP()
 /* See if an image is contained in a data source */
 int IMG_isWEBP(SDL_RWops *src)
 {
+    (void)src;
+
     return 0;
 }
 
 /* Load a WEBP type image from an SDL datasource */
 SDL_Surface *IMG_LoadWEBP_RW(SDL_RWops *src)
 {
+    (void)src;
+
     return NULL;
 }
 
-IMG_Animation *IMG_LoadWEBPAnimation_RW(SDL_RWops *src) {
+IMG_Animation *IMG_LoadWEBPAnimation_RW(SDL_RWops *src)
+{
+    (void)src;
+
     return NULL;
 }