Skip to content

Commit

Permalink
Remove private H5_GCC_DIAG_OFF/ON from standalone program (#734)
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF authored Jun 7, 2021
1 parent 47c7bd9 commit 6880034
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tools/test/perform/sio_engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -1264,13 +1264,6 @@ do_fclose(iotype iot, file_descr *fd /*out*/)
* Programmer: Albert Cheng 2001/12/12
* Modifications: Support for file drivers. Christian Chilan, April, 2008
*/
/* Disable warning for "format not a string literal" here -QAK */
/*
* This pragma only needs to surround the snprintf() calls with
* 'temp' in the code below, but early (4.4.7, at least) gcc only
* allows diagnostic pragmas to be toggled outside of functions.
*/
H5_GCC_DIAG_OFF("format-nonliteral")
static void
do_cleanupfile(iotype iot, char *filename)
{
Expand Down Expand Up @@ -1333,4 +1326,3 @@ do_cleanupfile(iotype iot, char *filename)
}
}
}
H5_GCC_DIAG_ON("format-nonliteral")

0 comments on commit 6880034

Please sign in to comment.