summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-06-07 23:08:09 (GMT)
committerGitHub <noreply@github.com>2021-06-07 23:08:09 (GMT)
commit6880034536e3767601f270c876e7ae32416a6a1d (patch)
treed3870a059eafd319aa6d85019b9b230506d2ae87 /tools
parent47c7bd983473cabb854483954ead6ee400009df1 (diff)
downloadhdf5-6880034536e3767601f270c876e7ae32416a6a1d.zip
hdf5-6880034536e3767601f270c876e7ae32416a6a1d.tar.gz
hdf5-6880034536e3767601f270c876e7ae32416a6a1d.tar.bz2
Remove private H5_GCC_DIAG_OFF/ON from standalone program (#734)
Diffstat (limited to 'tools')
-rw-r--r--tools/test/perform/sio_engine.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/test/perform/sio_engine.c b/tools/test/perform/sio_engine.c
index f67a7a6..1af2318 100644
--- a/tools/test/perform/sio_engine.c
+++ b/tools/test/perform/sio_engine.c
@@ -1264,13 +1264,6 @@ done:
* 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)
{
@@ -1333,4 +1326,3 @@ do_cleanupfile(iotype iot, char *filename)
}
}
}
-H5_GCC_DIAG_ON("format-nonliteral")