summaryrefslogtreecommitdiffstats
path: root/tools/h5diff
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5diff')
-rw-r--r--tools/h5diff/h5diff_common.c7
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;