SDL: Fixed error: 'fq' may be used uninitialized [-Werror=maybe-uninitialized]

From 3e541eab22960f18e2878d74a0da682b0d6e1ce2 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sat, 20 Jan 2024 17:19:00 -0800
Subject: [PATCH] Fixed error: 'fq' may be used uninitialized
 [-Werror=maybe-uninitialized]

---
 src/libm/k_rem_pio2.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/libm/k_rem_pio2.c b/src/libm/k_rem_pio2.c
index 4b807591688a..3dd5b2bf1dde 100644
--- a/src/libm/k_rem_pio2.c
+++ b/src/libm/k_rem_pio2.c
@@ -271,13 +271,11 @@ int32_t attribute_hidden __kernel_rem_pio2(const double *x, double *y, int e0, i
 	}
 
     /* compute PIo2[0,...,jp]*q[jz,...,0] */
+	SDL_zero(fq);
 	for(i=jz;i>=0;i--) {
 	    for(fw=0.0,k=0;k<=jp&&k<=jz-i;k++) fw += PIo2[k]*q[i+k];
 	    fq[jz-i] = fw;
 	}
-	if ((jz+1) < SDL_arraysize(f)) {
-	    SDL_memset(&fq[jz+1], 0, sizeof (fq) - ((jz+1) * sizeof (fq[0])));
-	}
 
     /* compress fq[] into y[] */
 	switch(prec) {