diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-08-12 21:11:00 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-08-12 21:11:00 (GMT) |
commit | 54d5a565f95f83655d8bcccb017da6164860afa7 (patch) | |
tree | 07d5429ca460bcfc12cd167fa97a8bbb8011ac69 /tools/lib/h5diff_array.c | |
parent | b95672cdcb6fb81f24a8a3dc00e7d233e65e9d87 (diff) | |
download | hdf5-54d5a565f95f83655d8bcccb017da6164860afa7.zip hdf5-54d5a565f95f83655d8bcccb017da6164860afa7.tar.gz hdf5-54d5a565f95f83655d8bcccb017da6164860afa7.tar.bz2 |
[svn-r19237] Description:
Clean up misc. compiler warnings.
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
Mac OS X/32 10.6.4 (amazon) w/C++ & FORTRAN, w/threadsafe,
in production mode
Mac OS X/32 10.6.4 (amazon) w/parallel, in debug mode
Diffstat (limited to 'tools/lib/h5diff_array.c')
-rw-r--r-- | tools/lib/h5diff_array.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tools/lib/h5diff_array.c b/tools/lib/h5diff_array.c index 48e08a5..dc3c9fb 100644 --- a/tools/lib/h5diff_array.c +++ b/tools/lib/h5diff_array.c @@ -5825,8 +5825,6 @@ void print_header(int pp, /* print percentage */ const char *obj1, const char *obj2 ) { - int i; - /* print header */ parallel_print("%-16s","size:"); print_dimensions (rank,dims); @@ -5834,8 +5832,7 @@ void print_header(int pp, /* print percentage */ print_dimensions (rank,dims); parallel_print("\n"); - if (pp) - { + if(pp) { parallel_print("%-15s %-15s %-15s %-15s %-15s\n", "position", (obj1!=NULL) ? obj1 : " ", @@ -5844,8 +5841,7 @@ void print_header(int pp, /* print percentage */ "relative"); parallel_print("------------------------------------------------------------------------\n"); } - else - { + else { parallel_print("%-15s %-15s %-15s %-20s\n", "position", (obj1!=NULL) ? obj1 : " ", |