some static analyzer items

This commit is contained in:
nhmall
2024-10-04 12:34:09 -04:00
parent 35220e44cb
commit 5af723669e
5 changed files with 29 additions and 12 deletions
+1
View File
@@ -158,6 +158,7 @@ main(int argc, char **argv)
strcpy(dest, dnbuf);
}
#endif /* !MSDOS && !VMS && !WIN32 && !__APPLE__ */
dest[sizeof dest - 1] = '\0';
/* create output file */
#if defined(MSDOS) || defined(WIN32)