summaryrefslogtreecommitdiffstats
path: root/hl/test
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-11-13 17:31:20 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2019-11-13 17:31:20 (GMT)
commit37eb3dd7d22af773ba09da1577c3f07fe2243571 (patch)
treef80d16ba0fce8ea6b2cfaa43d99a0cbfc93bb6b8 /hl/test
parent77a9806ab5692b3abaf3bb5d6f5bc68ef62fd8a1 (diff)
downloadhdf5-37eb3dd7d22af773ba09da1577c3f07fe2243571.zip
hdf5-37eb3dd7d22af773ba09da1577c3f07fe2243571.tar.gz
hdf5-37eb3dd7d22af773ba09da1577c3f07fe2243571.tar.bz2
Avoid unused-variable warnings: change static const strings in a couple
of header-file templates to #defines.
Diffstat (limited to 'hl/test')
-rw-r--r--hl/test/H5srcdir_str.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/test/H5srcdir_str.h.in b/hl/test/H5srcdir_str.h.in
index bab1df3..ba30a88 100644
--- a/hl/test/H5srcdir_str.h.in
+++ b/hl/test/H5srcdir_str.h.in
@@ -16,5 +16,5 @@
*/
/* Set the 'srcdir' path from configure time */
-static const char *config_srcdir = "@srcdir@";
+#define config_srcdir "@srcdir@"