Skip to content

Commit

Permalink
Fix 'LogError': RSOILWAT condition test against NULL
Browse files Browse the repository at this point in the history
- function 'isNULL' cannot test a FILE * object (without cast)
  • Loading branch information
dschlaep committed Dec 7, 2017
1 parent 6c1ae9f commit b2cf53c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ void LogError(FILE *fp, const int mode, const char *fmt, ...) {
strcat(outfmt, "\n");

#ifdef RSOILWAT
if (!isNull(fp) {
if (fp != NULL) {
REvprintf(outfmt, args);
}

Expand Down

0 comments on commit b2cf53c

Please sign in to comment.