removed pragma that caused warning on gcc
This commit is contained in:
parent
8a863d1ec8
commit
4e7b082ccc
1 changed files with 0 additions and 1 deletions
1
toml.c
1
toml.c
|
@ -1496,7 +1496,6 @@ toml_table_t *toml_parse_file(FILE *fp, char *errbuf, int errbufsz) {
|
|||
int n = fread(buf + off, 1, bufsz - off, fp);
|
||||
if (ferror(fp)) {
|
||||
snprintf(errbuf, errbufsz, "%s",
|
||||
#pragma warning(suppress : 4996)
|
||||
errno ? strerror(errno) : "Error reading file");
|
||||
xfree(buf);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue