summaryrefslogtreecommitdiffstats
path: root/hl/test/H5srcdir_str.h.in
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-11-13 17:31:20 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:17:27 (GMT)
commit46ed46aa72cf9c08a38d6094819235c88a109fe1 (patch)
tree379cd4b4d96e81b1b8ef0b6a56f8653d42ce5edb /hl/test/H5srcdir_str.h.in
parentf089da9c15d8c40ac724d6b7c79922685b1d506d (diff)
downloadhdf5-46ed46aa72cf9c08a38d6094819235c88a109fe1.zip
hdf5-46ed46aa72cf9c08a38d6094819235c88a109fe1.tar.gz
hdf5-46ed46aa72cf9c08a38d6094819235c88a109fe1.tar.bz2
Avoid unused-variable warnings: change static const strings in a couple
of header-file templates to #defines.
Diffstat (limited to 'hl/test/H5srcdir_str.h.in')
-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@"