SDL: SDL_PenModifyForWacomID: return zero as axis_flags upon failure.

From 08fac5b1b2cbee512004c2c2c261f6408e8d794c Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Thu, 23 Nov 2023 11:56:50 +0300
Subject: [PATCH] SDL_PenModifyForWacomID: return zero as axis_flags upon
 failure.

Fixes uninitialized warning in testautomation_pen.c:
testautomation_pen.c:1512: warning: 'mask' may be used uninitialized in this function
---
 src/events/SDL_pen.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/events/SDL_pen.c b/src/events/SDL_pen.c
index 78e6b617c0c7..3f545e56ea54 100644
--- a/src/events/SDL_pen.c
+++ b/src/events/SDL_pen.c
@@ -1058,6 +1058,7 @@ int SDL_PenModifyForWacomID(SDL_Pen *pen, Uint32 wacom_devicetype_id, Uint32 *ax
     }
 
     if (!name) {
+        *axis_flags = 0;
         return SDL_FALSE;
     }