summaryrefslogtreecommitdiffstats
path: root/tools/test/perform/perf.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2020-01-21 18:29:48 (GMT)
committerkmu <kmu@hdfgroup.org>2020-01-21 18:29:48 (GMT)
commit408b9b1f3b8e84ba090c51e665d38eedef32c7ee (patch)
treefb1b54f04db572aeb9a4a9fb56ceb73f9a52e411 /tools/test/perform/perf.c
parent7366709e4000a96a9942934da0d13474213567f3 (diff)
downloadhdf5-408b9b1f3b8e84ba090c51e665d38eedef32c7ee.zip
hdf5-408b9b1f3b8e84ba090c51e665d38eedef32c7ee.tar.gz
hdf5-408b9b1f3b8e84ba090c51e665d38eedef32c7ee.tar.bz2
fix uninitizlized warning
Diffstat (limited to 'tools/test/perform/perf.c')
-rw-r--r--tools/test/perform/perf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test/perform/perf.c b/tools/test/perform/perf.c
index 34b8a2d..2008a6e 100644
--- a/tools/test/perform/perf.c
+++ b/tools/test/perform/perf.c
@@ -117,7 +117,7 @@ extern char *optarg;
int main(int argc, char **argv)
{
- char *buf, *tmp, *buf2, *tmp2, *check;
+ char *buf, *tmp, *buf2 = NULL, *tmp2 = NULL, *check;
int i, j, mynod=0, nprocs=1, err, my_correct = 1, correct, myerrno;
double stim, etim;
double write_tim = 0;