mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-24 05:29:12 +00:00
Fixed warning C4701: potentially uninitialized local variable 'rndctx' used
This commit is contained in:
parent
445cb42acd
commit
8eba5b75ca
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue