silence compiler warnings

This commit is contained in:
Axel Kohlmeyer
2021-04-23 16:19:57 -04:00
parent f759e6ffcf
commit ef858ae70f
13 changed files with 61 additions and 63 deletions

View File

@ -100,7 +100,7 @@ char *TextFileReader::next_line(int nparams) {
if (nwords > 0) n = strlen(line);
while (nwords == 0 || nwords < nparams) {
char *ptr = fgets(&line[n], MAXLINE - n, fp);
ptr = fgets(&line[n], MAXLINE - n, fp);
if (ptr == nullptr) {
// EOF