minor cleanups

This commit is contained in:
Axel Kohlmeyer
2012-06-12 10:05:51 -04:00
parent a3ed749f6c
commit 6ee53aa433
3 changed files with 5 additions and 6 deletions

View File

@ -279,7 +279,7 @@ void ReaderNative::read_atoms(int n, int nfield, double **fields)
int i,m;
char *eof;
for (int i = 0; i < n; i++) {
for (i = 0; i < n; i++) {
eof = fgets(line,MAXLINE,fp);
if (eof == NULL) error->one(FLERR,"Unexpected end of dump file");