summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2017-05-25 14:11:26 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2017-05-25 14:11:26 (GMT)
commit1b74c5ca95efa3ebc14bb98ca48e4bf052398a81 (patch)
tree2263fec31b203dbf2051585456bc4add81b48b1a /test
parent291b107d4d56528082db5344d8783941154e8374 (diff)
downloadhdf5-1b74c5ca95efa3ebc14bb98ca48e4bf052398a81.zip
hdf5-1b74c5ca95efa3ebc14bb98ca48e4bf052398a81.tar.gz
hdf5-1b74c5ca95efa3ebc14bb98ca48e4bf052398a81.tar.bz2
More minor warning fixes.
Diffstat (limited to 'test')
-rw-r--r--test/mf.c2
-rw-r--r--test/swmr_remove_reader.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/test/mf.c b/test/mf.c
index 60b74c4..fea5ee2 100644
--- a/test/mf.c
+++ b/test/mf.c
@@ -45,8 +45,10 @@
#define TBLOCK_SIZE4 4
#define TBLOCK_SIZE5 5
#define TBLOCK_SIZE6 6
+#ifdef PB_OUT
#define TBLOCK_SIZE7 7
#define TBLOCK_SIZE8 8
+#endif /* PB_OUT */
#define TBLOCK_SIZE10 10
#define TBLOCK_SIZE11 11
#define TBLOCK_SIZE20 20
diff --git a/test/swmr_remove_reader.c b/test/swmr_remove_reader.c
index 11649e3..1fae5e7 100644
--- a/test/swmr_remove_reader.c
+++ b/test/swmr_remove_reader.c
@@ -227,7 +227,7 @@ read_records(const char *filename, unsigned verbose, unsigned long nseconds,
/* Determine the offset of the symbol, within level 0 symbols */
/* (level 0 symbols are the most common symbols) */
- offset = (unsigned)(HDrandom() % symbol_count[0]);
+ offset = (unsigned)HDrandom() % symbol_count[0];
sym_com[v] = &symbol_info[0][offset];
/* Emit informational message */