SDL_image: IMG_jpg.c,IMG_webp.c: No need of 'volatile' keyword here

From df14efe36d38b9f66adaf8c7db80b42c8bfd2444 Mon Sep 17 00:00:00 2001
From: Sylvain <[EMAIL REDACTED]>
Date: Thu, 2 Mar 2023 22:30:37 +0100
Subject: [PATCH] IMG_jpg.c,IMG_webp.c: No need of 'volatile' keyword here

(cherry picked from commit a61c2fc38f768b509d204182b4e988669036eb14)
---
 src/IMG_jpg.c  | 2 +-
 src/IMG_webp.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/IMG_jpg.c b/src/IMG_jpg.c
index 3feebdbf..41e89aca 100644
--- a/src/IMG_jpg.c
+++ b/src/IMG_jpg.c
@@ -343,7 +343,7 @@ SDL_Surface *IMG_LoadJPG_RW(SDL_RWops *src)
     Sint64 start;
     struct jpeg_decompress_struct cinfo;
     JSAMPROW rowptr[1];
-    SDL_Surface *volatile surface = NULL;
+    SDL_Surface *surface = NULL;
     struct my_error_mgr jerr;
 
     if ( !src ) {
diff --git a/src/IMG_webp.c b/src/IMG_webp.c
index 2bf6443c..3284df1c 100644
--- a/src/IMG_webp.c
+++ b/src/IMG_webp.c
@@ -157,7 +157,7 @@ SDL_Surface *IMG_LoadWEBP_RW(SDL_RWops *src)
 {
     Sint64 start;
     const char *error = NULL;
-    SDL_Surface *volatile surface = NULL;
+    SDL_Surface *surface = NULL;
     Uint32 format;
     WebPBitstreamFeatures features;
     int raw_data_size;