initialize static string buffers to empty strings
This commit is contained in:
@ -282,7 +282,7 @@ void ProcMap::custom_grid(char *cfile, int nprocs,
|
||||
int me;
|
||||
MPI_Comm_rank(world,&me);
|
||||
|
||||
char line[MAXLINE];
|
||||
char line[MAXLINE] = {'\0'};
|
||||
FILE *fp = nullptr;
|
||||
|
||||
if (me == 0) {
|
||||
|
||||
Reference in New Issue
Block a user