diff options
author | Nick Clifton <nickc@redhat.com> | 2007-10-17 16:45:56 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-10-17 16:45:56 +0000 |
commit | 499ac353610f24006acf82c32503d8d15d0f278c (patch) | |
tree | a85388693f1bb562345a7f7a28875fd962bd16f0 /gas/read.c | |
parent | 25b07cd9c40077c076d68f9e7d5a113828fbebbf (diff) | |
download | binutils-gdb-499ac353610f24006acf82c32503d8d15d0f278c.tar.gz |
Remove duplicate definitions of the md_atof() function
Diffstat (limited to 'gas/read.c')
-rw-r--r-- | gas/read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/read.c b/gas/read.c index 379b3f292a9..1162139ca45 100644 --- a/gas/read.c +++ b/gas/read.c @@ -3297,7 +3297,7 @@ s_float_space (int float_type) err = md_atof (float_type, temp, &flen); know (flen <= MAXIMUM_NUMBER_OF_CHARS_FOR_FLOAT); - know (flen > 0); + know (err != NULL || flen > 0); if (err) { as_bad (_("bad floating literal: %s"), err); @@ -4602,7 +4602,7 @@ float_cons (/* Clobbers input_line-pointer, checks end-of-line. */ { err = md_atof (float_type, temp, &length); know (length <= MAXIMUM_NUMBER_OF_CHARS_FOR_FLOAT); - know (length > 0); + know (err != NULL || length > 0); if (err) { as_bad (_("bad floating literal: %s"), err); |