summaryrefslogtreecommitdiffstats
path: root/tools/src/h5perf/perf.c
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2022-04-05 16:02:12 (GMT)
committerGitHub <noreply@github.com>2022-04-05 16:02:12 (GMT)
commit9f2b38bb61df6136d214cb7ab248f73d1ff9458c (patch)
tree703b1eec9eee535667b8753916b3714815f8f810 /tools/src/h5perf/perf.c
parentbddd148fd29deb18439767c416199914845431b8 (diff)
downloadhdf5-9f2b38bb61df6136d214cb7ab248f73d1ff9458c.zip
hdf5-9f2b38bb61df6136d214cb7ab248f73d1ff9458c.tar.gz
hdf5-9f2b38bb61df6136d214cb7ab248f73d1ff9458c.tar.bz2
Clang warning fixes from develop. (#1583)
Diffstat (limited to 'tools/src/h5perf/perf.c')
-rw-r--r--tools/src/h5perf/perf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/src/h5perf/perf.c b/tools/src/h5perf/perf.c
index e8c03d8..48f76f2 100644
--- a/tools/src/h5perf/perf.c
+++ b/tools/src/h5perf/perf.c
@@ -126,7 +126,7 @@ static char *h5_fixname_real(const char *base_name, hid_t fapl, const char *_suf
int
main(int argc, char **argv)
{
- char * buf, *tmp, *buf2 = NULL, *tmp2 = NULL, *check;
+ char * buf = NULL, *tmp = NULL, *buf2 = NULL, *tmp2 = NULL, *check = NULL;
int i, j, mynod = 0, nprocs = 1, my_correct = 1, correct, myerrno;
double stim, etim;
double write_tim = 0;