summaryrefslogtreecommitdiffstats
path: root/tools/h5diff
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2013-10-09 16:55:33 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2013-10-09 16:55:33 (GMT)
commit9d954e1136e8b511d0f44eac25c9eafd3b155549 (patch)
treec44e2a0e45714f09f7c1c274cdbcb2a897e98afe /tools/h5diff
parent53827d4017a258a6e4bfd911d4fef3fbc21bd484 (diff)
downloadhdf5-9d954e1136e8b511d0f44eac25c9eafd3b155549.zip
hdf5-9d954e1136e8b511d0f44eac25c9eafd3b155549.tar.gz
hdf5-9d954e1136e8b511d0f44eac25c9eafd3b155549.tar.bz2
[svn-r24270] checkin coverity changes from 10/4/2013.
tested with h5committest
Diffstat (limited to 'tools/h5diff')
-rw-r--r--tools/h5diff/h5diffgentest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5diff/h5diffgentest.c b/tools/h5diff/h5diffgentest.c
index 2271703..d7389d3 100644
--- a/tools/h5diff/h5diffgentest.c
+++ b/tools/h5diff/h5diffgentest.c
@@ -4874,7 +4874,7 @@ static void test_data_nocomparables (const char * fname, int make_diffs)
int data1[DIM_ARRY] = {0,0,0};
int data2[DIM_ARRY] = {1,1,1};
int data3[DIM_ARRY+1] = {1,1,1,1};
- int data1_dim2[DIM_ARRY][1] = {0,0,0};
+ int data1_dim2[DIM_ARRY][1] = {{0},{0},{0}};
int rank_attr;
char data1_str[DIM_ARRY][STR_SIZE]= {"ab","cd","ef"};
herr_t status = SUCCEED;