diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2016-08-01 17:26:41 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2016-08-01 17:26:41 (GMT) |
commit | 1494413413932f1e640815d109fd1e8386bab3f9 (patch) | |
tree | 46692e0334e71b7d64542231761705f3d96edd2f /tools/lib/h5diff_attr.c | |
parent | 4ce65b85850fd7bd28c36b25619d025611afacce (diff) | |
download | hdf5-1494413413932f1e640815d109fd1e8386bab3f9.zip hdf5-1494413413932f1e640815d109fd1e8386bab3f9.tar.gz hdf5-1494413413932f1e640815d109fd1e8386bab3f9.tar.bz2 |
[svn-r30236] HDFFV-9928: remove duplicate and unconditional includes in h5diff_array.
Also format function block in h5diff_attr to eliminate excessive whitespace
Diffstat (limited to 'tools/lib/h5diff_attr.c')
-rw-r--r-- | tools/lib/h5diff_attr.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/tools/lib/h5diff_attr.c b/tools/lib/h5diff_attr.c index 2b6e080..2cda28c 100644 --- a/tools/lib/h5diff_attr.c +++ b/tools/lib/h5diff_attr.c @@ -75,14 +75,12 @@ static void table_attrs_free( table_attrs_t *table ) { unsigned int i; - if (table) - { - if(table->attrs) - { - for(i = 0; i < table->nattrs; i++) - { - if(table->attrs[i].name) - HDfree(table->attrs[i].name ); + if (table) { + if (table->attrs) { + for (i = 0; i < table->nattrs; i++) { + if (table->attrs[i].name) { + HDfree(table->attrs[i].name); + } } /* end for */ HDfree(table->attrs); table->attrs = NULL; |