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

@ -375,7 +375,7 @@ void NEBSpin::readfile(char *file, int flag)
int i,nchunk,eofflag,nlines;
tagint tag;
char *eof,*start,*next,*buf;
char line[MAXLINE];
char line[MAXLINE] = {'\0'};
double musp,xx,yy,zz,spx,spy,spz;
if (me_universe == 0 && universe->uscreen)