static analysis: Fixed several complaints from codechecker.

There are still some pending Objective-C specific issues.

Reference issue #4600.
This commit is contained in:
Ryan C. Gordon
2022-03-24 11:00:43 -04:00
parent eadc064e2c
commit 4fe7b2cbd1
10 changed files with 33 additions and 20 deletions

View File

@@ -316,6 +316,8 @@ SDL_InitSubSystem(Uint32 flags)
#endif
}
(void) flags_initialized; /* make static analysis happy, since this only gets used in error cases. */
return (0);
quit_and_error: