summaryrefslogtreecommitdiffstats
path: root/tools/test/perform/perf.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2020-01-21 18:29:48 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:31:50 (GMT)
commit0c9d2de9e29c5b0d0b0fb1ec07e1d2ae8e2c8f7d (patch)
tree28727dfdd4288e5da790f0753e2a9ff25ef0e2ea /tools/test/perform/perf.c
parentf77d99d3e9b9434ef895f9ad2ee072ce76e2768a (diff)
downloadhdf5-0c9d2de9e29c5b0d0b0fb1ec07e1d2ae8e2c8f7d.zip
hdf5-0c9d2de9e29c5b0d0b0fb1ec07e1d2ae8e2c8f7d.tar.gz
hdf5-0c9d2de9e29c5b0d0b0fb1ec07e1d2ae8e2c8f7d.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;