SDL: Don't set unused variable

From e526dc64bdd6fded52bd46afe503b827e062ea48 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Sun, 15 Oct 2023 01:36:49 +0200
Subject: [PATCH] Don't set unused variable

---
 src/SDL_hashtable.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/SDL_hashtable.c b/src/SDL_hashtable.c
index 5646a3717f30..2bb36a539475 100644
--- a/src/SDL_hashtable.c
+++ b/src/SDL_hashtable.c
@@ -108,7 +108,6 @@ SDL_bool SDL_FindInHashTable(const SDL_HashTable *table, const void *key, const
 {
     const Uint32 hash = calc_hash(table, key);
     void *data = table->data;
-    SDL_HashItem *prev = NULL;
     SDL_HashItem *i;
 
     for (i = table->table[hash]; i != NULL; i = i->next) {
@@ -118,8 +117,6 @@ SDL_bool SDL_FindInHashTable(const SDL_HashTable *table, const void *key, const
             }
             return SDL_TRUE;
         }
-
-        prev = i;
     }
 
     return SDL_FALSE;