mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
Silence lack of return value check warning on fgets()
svn path=/trunk/netsurf/; revision=5954
This commit is contained in:
parent
ebfb26038f
commit
70e1c9c7bf
@ -72,7 +72,8 @@ void gtk_fetch_filetype_init(const char *mimefile)
|
||||
|
||||
while (!feof(fh)) {
|
||||
char line[256], *ptr, *type, *ext;
|
||||
fgets(line, 256, fh);
|
||||
if (fgets(line, 256, fh) == NULL)
|
||||
break;
|
||||
if (!feof(fh) && line[0] != '#') {
|
||||
ptr = line;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user