summaryrefslogtreecommitdiffstats
path: root/test/error_test.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-09-04 21:51:30 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-09-04 21:51:30 (GMT)
commitd8d17d23284d29048da7af67c9653ffc2d0945c4 (patch)
tree916b9b1144be81df0b25a2ea712f8e6ac6e8e040 /test/error_test.c
parent30c7264c2ca0f169b099b6ebbf13c5bd71652ebc (diff)
downloadhdf5-d8d17d23284d29048da7af67c9653ffc2d0945c4.zip
hdf5-d8d17d23284d29048da7af67c9653ffc2d0945c4.tar.gz
hdf5-d8d17d23284d29048da7af67c9653ffc2d0945c4.tar.bz2
File changes to affect formatting
Diffstat (limited to 'test/error_test.c')
-rw-r--r--test/error_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/error_test.c b/test/error_test.c
index 7c6cf9f..1408c46 100644
--- a/test/error_test.c
+++ b/test/error_test.c
@@ -329,7 +329,7 @@ long_desc_cb(unsigned H5_ATTR_UNUSED n, const H5E_error2_t *err_desc, void *clie
* 'full_desc' 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)
+H5_GCC_DIAG_OFF("format-nonliteral")
static herr_t
test_long_desc(void)
{
@@ -384,7 +384,7 @@ error:
return -1;
} /* end test_long_desc() */
-H5_GCC_DIAG_ON(format-nonliteral)
+H5_GCC_DIAG_ON("format-nonliteral")
/*-------------------------------------------------------------------------