diff options
author | David Young <dyoung@hdfgroup.org> | 2019-11-13 17:31:20 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:17:27 (GMT) |
commit | 46ed46aa72cf9c08a38d6094819235c88a109fe1 (patch) | |
tree | 379cd4b4d96e81b1b8ef0b6a56f8653d42ce5edb /test | |
parent | f089da9c15d8c40ac724d6b7c79922685b1d506d (diff) | |
download | hdf5-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 'test')
-rw-r--r-- | test/H5srcdir_str.h.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/H5srcdir_str.h.in b/test/H5srcdir_str.h.in index bab1df3..ba30a88 100644 --- a/test/H5srcdir_str.h.in +++ b/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@" |