summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sort.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sort.c b/src/sort.c
index 148ed3ee7..084f4e328 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -35,6 +35,7 @@
#include "hard-locale.h"
#include "hash.h"
#include "heap.h"
+#include "ignore-value.h"
#include "md5.h"
#include "mbswidth.h"
#include "nproc.h"
@@ -2204,7 +2205,7 @@ debug_key (struct line const *line, struct keyfield const *key)
if (key->month)
getmonth (beg, &tighter_lim);
else if (key->general_numeric)
- strtold (beg, &tighter_lim);
+ ignore_value (strtold (beg, &tighter_lim));
else if (key->numeric || key->human_numeric)
{
char *p = beg + (beg < lim && *beg == '-');