diff options
author | kmu <kmu@hdfgroup.org> | 2019-11-26 23:24:48 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2019-11-26 23:24:48 (GMT) |
commit | e0262c8bedf0e59b7b32b02ecd91ed50cf834a1c (patch) | |
tree | b4605ad55c3c2b82218a915fc2322d0f75a4f880 /tools/lib/h5diff.c | |
parent | bfbd613f53af476fd83ac9e2bfb5855e659eef65 (diff) | |
download | hdf5-e0262c8bedf0e59b7b32b02ecd91ed50cf834a1c.zip hdf5-e0262c8bedf0e59b7b32b02ecd91ed50cf834a1c.tar.gz hdf5-e0262c8bedf0e59b7b32b02ecd91ed50cf834a1c.tar.bz2 |
Revert "fix warnings from Intel compiler"
This reverts commit 8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466.
Diffstat (limited to 'tools/lib/h5diff.c')
-rw-r--r-- | tools/lib/h5diff.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c index 5acdde8..c2153e5 100644 --- a/tools/lib/h5diff.c +++ b/tools/lib/h5diff.c @@ -908,14 +908,8 @@ h5diff(const char *fname1, parallel_print("---------------------------------------\n"); for(u = 0; u < match_list->nobjs; u++) { char c1, c2; - if (match_list->objs[u].flags[0]) - c1 = 'x'; - else - c1 = ' '; - if (match_list->objs[u].flags[1]) - c2 = 'x'; - else - c2 = ' '; + c1 = (match_list->objs[u].flags[0]) ? 'x' : ' '; + c2 = (match_list->objs[u].flags[1]) ? 'x' : ' '; parallel_print("%5c %6c %-15s\n", c1, c2, match_list->objs[u].name); } /* end for */ parallel_print ("\n"); |