Skip to content

Commit

Permalink
Fix clang-reported issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Apr 22, 2017
1 parent d61a51b commit 00f273d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,12 @@ mmdLoad(const char *filename) /* I - File to load */

doc = current = mmd_add(NULL, MMD_TYPE_DOCUMENT, 0, NULL, NULL);

if (!doc)
{
fclose(fp);
return (NULL);
}

/*
* Read lines until end-of-file...
*/
Expand Down

0 comments on commit 00f273d

Please sign in to comment.