diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2017-09-07 16:56:49 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2017-09-07 16:56:49 (GMT) |
commit | ffaa6249eaaaac0f6c221b0eaa135f33d8298830 (patch) | |
tree | 607e4a2e17ee0712496057e06d07aa1e0e255e3c /tools/h5diff/h5diff_common.c | |
parent | 6f23a13c375bc0257a76add966d67a5de64937e2 (diff) | |
download | hdf5-ffaa6249eaaaac0f6c221b0eaa135f33d8298830.zip hdf5-ffaa6249eaaaac0f6c221b0eaa135f33d8298830.tar.gz hdf5-ffaa6249eaaaac0f6c221b0eaa135f33d8298830.tar.bz2 |
HDFFV-9774 Fix merge typo
Diffstat (limited to 'tools/h5diff/h5diff_common.c')
-rw-r--r-- | tools/h5diff/h5diff_common.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/h5diff/h5diff_common.c b/tools/h5diff/h5diff_common.c index e4696c0..84c6be2 100644 --- a/tools/h5diff/h5diff_common.c +++ b/tools/h5diff/h5diff_common.c @@ -230,8 +230,9 @@ void parse_command_line(int argc, options->percent = atof(opt_arg); /* -p 0 is the same as default */ - if (H5_DBL_ABS_EQUAL(options->percent, (double)0.0F)) - options->p = 0; + if (options->percent == 0) + options->p = 0; + break; case 'n': @@ -341,7 +342,7 @@ void parse_command_line(int argc, * *------------------------------------------------------------------------- */ -H5_ATTR_PURE static int +static int check_n_input( const char *str ) { unsigned i; |