initialize static string buffers to empty strings

This commit is contained in:
Axel Kohlmeyer
2024-01-19 00:02:50 -05:00
parent 3ae4779c7f
commit 4015d1bb39
31 changed files with 61 additions and 42 deletions

View File

@ -3922,7 +3922,8 @@ read map file
void FixBondReact::read_map_file(int myrxn)
{
int rv;
char line[MAXLINE],keyword[MAXLINE];
char line[MAXLINE] = {'\0'};
char keyword[MAXLINE] = {'\0'};
char *eof,*ptr;
// skip 1st line of file