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:
C.W. Betts
2024-04-19 17:42:17 -06:00
parent 0d6fcb1e7e
commit 7d7f5bf896
82 changed files with 99 additions and 55 deletions

View File

@@ -125,7 +125,7 @@ int InfFile::ParseLine(char *operand, int oprlen) {
// tokenize line.
char command[32]; // Command read from line.
char *opr, *cmd;
char *opr = NULL, *cmd;
int retval = INFFILE_NULL;
if (strlen(m_lineptr) == 0)