diff options
author | David Young <dyoung@hdfgroup.org> | 2019-11-13 17:31:20 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2019-11-13 17:31:20 (GMT) |
commit | 37eb3dd7d22af773ba09da1577c3f07fe2243571 (patch) | |
tree | f80d16ba0fce8ea6b2cfaa43d99a0cbfc93bb6b8 /test | |
parent | 77a9806ab5692b3abaf3bb5d6f5bc68ef62fd8a1 (diff) | |
download | hdf5-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 '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@" |