SDL_ttf: fixed unused warning when configured with --disable-harfbuzz

From 9a8650d82824bd8d971dd77d74b67315c4150b07 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Tue, 8 Feb 2022 00:00:24 +0300
Subject: [PATCH] fixed unused warning when configured with --disable-harfbuzz

---
 SDL_ttf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SDL_ttf.c b/SDL_ttf.c
index 6f292ff..8a9d1b0 100644
--- a/SDL_ttf.c
+++ b/SDL_ttf.c
@@ -2902,7 +2902,6 @@ static int TTF_Size_Internal(TTF_Font *font,
         int measure_width, int *extent, int *count)
 {
     int x = 0;
-    int y = 0;
     int pos_x, pos_y;
     int minx = 0, maxx = 0;
     int miny = 0, maxy = 0;
@@ -2914,6 +2913,7 @@ static int TTF_Size_Internal(TTF_Font *font,
     unsigned int glyph_count;
     hb_glyph_info_t *hb_glyph_info;
     hb_glyph_position_t *hb_glyph_position;
+    int y = 0;
 #else
     size_t textlen;
     int skip_first = 1;