mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 19:38:14 +00:00
Fixed warning C4701: potentially uninitialized local variable 'rndctx' used
This commit is contained in:
@@ -53,6 +53,8 @@ int main(int argc, char *argv[])
|
|||||||
SDLTest_CommonState *state;
|
SDLTest_CommonState *state;
|
||||||
int seed_seen = 0;
|
int seed_seen = 0;
|
||||||
|
|
||||||
|
SDL_zero(rndctx);
|
||||||
|
|
||||||
/* Initialize test framework */
|
/* Initialize test framework */
|
||||||
state = SDLTest_CommonCreateState(argv, 0);
|
state = SDLTest_CommonCreateState(argv, 0);
|
||||||
if (!state) {
|
if (!state) {
|
||||||
|
Reference in New Issue
Block a user