diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-06-19 12:54:53 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-06-19 12:54:53 (GMT) |
commit | aefc39ac325f25d1978ad07785ee0b57617d17a5 (patch) | |
tree | fca00816adc4c767109b92e4892f77abc40be3b9 /perform/pio_perf.c | |
parent | 64b7be4a52b14dfefc7729aaf8be6649fb668cc4 (diff) | |
download | hdf5-aefc39ac325f25d1978ad07785ee0b57617d17a5.zip hdf5-aefc39ac325f25d1978ad07785ee0b57617d17a5.tar.gz hdf5-aefc39ac325f25d1978ad07785ee0b57617d17a5.tar.bz2 |
[svn-r5667] Purpose:
Code cleanup
Description:
Turn on more warnings in the IRIX builds and clean them up.
Platforms tested:
IRIX64 6.5 (modi4) w/parallel
Diffstat (limited to 'perform/pio_perf.c')
-rw-r--r-- | perform/pio_perf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/perform/pio_perf.c b/perform/pio_perf.c index f27cec9..f0b158c 100644 --- a/perform/pio_perf.c +++ b/perform/pio_perf.c @@ -246,7 +246,7 @@ struct options { off_t file_size; /* size of file */ long num_dsets; /* number of datasets */ long num_files; /* number of files */ - long num_iters; /* number of iterations */ + int num_iters; /* number of iterations */ int max_num_procs; /* maximum number of processes to use */ int min_num_procs; /* minimum number of processes to use */ size_t max_xfer_size; /* maximum transfer buffer size */ @@ -698,7 +698,7 @@ run_test(iotype iot, parameters parms, struct options *opts) static void output_all_info(minmax *mm, int count, int indent_level) { - register int i; + int i; for (i = 0; i < count; ++i) { print_indent(indent_level); @@ -743,7 +743,7 @@ get_minmax(minmax *mm, double val) static minmax accumulate_minmax_stuff(minmax *mm, int count) { - register int i; + int i; minmax total_mm; total_mm.sum = 0.0; @@ -864,7 +864,7 @@ output_results(const struct options *opts, const char *name, minmax *table, total_mm = accumulate_minmax_stuff(table, table_size); print_indent(3); - output_report("%s (%d iteration(s)):\n", name,(int)table_size); + output_report("%s (%d iteration(s)):\n", name,table_size); /* Note: The maximum throughput uses the minimum amount of time & vice versa */ |