removed dead code and reduce compiler warnings about unused parameters

This commit is contained in:
Axel Kohlmeyer
2019-02-03 11:36:41 -05:00
parent d6eaf73db1
commit b417cfda9b
36 changed files with 83 additions and 93 deletions

View File

@ -627,7 +627,7 @@ void ReadRestart::file_search(char *infile, char *outfile)
if ((ptr = strstr(&ep->d_name[nbegin],end)) == NULL) continue;
if (strlen(end) == 0) ptr = ep->d_name + strlen(ep->d_name);
*ptr = '\0';
if (strlen(&ep->d_name[nbegin]) < n) {
if ((int)strlen(&ep->d_name[nbegin]) < n) {
strcpy(middle,&ep->d_name[nbegin]);
if (ATOBIGINT(middle) > maxnum) maxnum = ATOBIGINT(middle);
}