mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-04-10 02:00:05 -04:00
Quiet Clang Static Analyzer warnings.
Most of the warnings were caused by uninitialized values. Some were in plug-ins that didn't have a break in a switch, causing the memory to be deleted twice.
This commit is contained in:
@@ -249,7 +249,7 @@ void OutrageMessageBox(char *str, ...) {
|
||||
int OutrageMessageBox(int type, char *str, ...) {
|
||||
char buf[BUF_LEN];
|
||||
va_list arglist;
|
||||
int os_flags;
|
||||
int os_flags = 0;
|
||||
int nchars;
|
||||
|
||||
va_start(arglist, str);
|
||||
|
||||
Reference in New Issue
Block a user