summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfwscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/vfwscanf.c')
-rw-r--r--lib/libc/stdio/vfwscanf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libc/stdio/vfwscanf.c b/lib/libc/stdio/vfwscanf.c
index b6d97e3..8a62a8f7 100644
--- a/lib/libc/stdio/vfwscanf.c
+++ b/lib/libc/stdio/vfwscanf.c
@@ -99,8 +99,6 @@ __FBSDID("$FreeBSD$");
static int parsefloat(FILE *, wchar_t *, wchar_t *);
#endif
-extern int __scanfdebug;
-
#define INCCL(_c) \
(cclcompl ? (wmemchr(ccls, (_c), ccle - ccls) == NULL) : \
(wmemchr(ccls, (_c), ccle - ccls) != NULL))
@@ -705,8 +703,6 @@ literal:
float res = wcstof(buf, &p);
*va_arg(ap, float *) = res;
}
- if (__scanfdebug && p - buf != width)
- abort();
nassigned++;
}
nread += width;
OpenPOWER on IntegriCloud