From 8eba5b75ca9baf0faec7b75c51a24ae7cc77b0ab Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 3 Feb 2024 11:31:01 -0800 Subject: [PATCH] Fixed warning C4701: potentially uninitialized local variable 'rndctx' used --- test/testqsort.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/testqsort.c b/test/testqsort.c index f410a6167..08a518851 100644 --- a/test/testqsort.c +++ b/test/testqsort.c @@ -53,6 +53,8 @@ int main(int argc, char *argv[]) SDLTest_CommonState *state; int seed_seen = 0; + SDL_zero(rndctx); + /* Initialize test framework */ state = SDLTest_CommonCreateState(argv, 0); if (!state) {