SDL: avoid -Werror=declaration-after-statement after last commit.

From 2201d8025589c2657e1b02f56aa4d0d27163237d Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Thu, 14 Jul 2022 02:40:00 +0300
Subject: [PATCH] avoid -Werror=declaration-after-statement after last commit.

---
 src/filesystem/unix/SDL_sysfilesystem.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/filesystem/unix/SDL_sysfilesystem.c b/src/filesystem/unix/SDL_sysfilesystem.c
index 67f908d2d7c..416334d1a15 100644
--- a/src/filesystem/unix/SDL_sysfilesystem.c
+++ b/src/filesystem/unix/SDL_sysfilesystem.c
@@ -155,7 +155,7 @@ SDL_GetBasePath(void)
     size_t len;
     const int mib[] = { CTL_KERN, KERN_PROC_ARGS, getpid(), KERN_PROC_ARGV };
     if (sysctl(mib, 4, NULL, &len, NULL, 0) != -1) {
-        char *exe;
+        char *exe, *pwddst;
         char *realpathbuf = (char *) SDL_malloc(PATH_MAX + 1);
         if (!realpathbuf) {
             SDL_OutOfMemory();
@@ -172,7 +172,7 @@ SDL_GetBasePath(void)
         sysctl(mib, 4, cmdline, &len, NULL, 0);
 
         exe = cmdline[0];
-        char *pwddst = NULL;
+        pwddst = NULL;
         if (SDL_strchr(exe, '/') == NULL) {  /* not a relative or absolute path, check $PATH for it */
             exe = search_path_for_binary(cmdline[0]);
         } else {