summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfscanf.c
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2007-12-09 21:00:12 +0000
committerdas <das@FreeBSD.org>2007-12-09 21:00:12 +0000
commitec6292aa688d65f01dbb14cd111ae9d97bf1f9c0 (patch)
treef5600b13cf449f852512d1cb4adaeaf1c5b8f4a1 /lib/libc/stdio/vfscanf.c
parent2f1b111f901c036d87065360fbe165e74d0a76d0 (diff)
downloadFreeBSD-src-ec6292aa688d65f01dbb14cd111ae9d97bf1f9c0.zip
FreeBSD-src-ec6292aa688d65f01dbb14cd111ae9d97bf1f9c0.tar.gz
Remove some test instrumentation. (The Symbol.map changes broke it anyway.)
Diffstat (limited to 'lib/libc/stdio/vfscanf.c')
-rw-r--r--lib/libc/stdio/vfscanf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libc/stdio/vfscanf.c b/lib/libc/stdio/vfscanf.c
index 452eb65..9d724eb 100644
--- a/lib/libc/stdio/vfscanf.c
+++ b/lib/libc/stdio/vfscanf.c
@@ -98,8 +98,6 @@ static const u_char *__sccl(char *, const u_char *);
static int parsefloat(FILE *, char *, char *);
#endif
-int __scanfdebug = 0;
-
__weak_reference(__vfscanf, vfscanf);
/*
@@ -781,8 +779,6 @@ literal:
float res = strtof(buf, &p);
*va_arg(ap, float *) = res;
}
- if (__scanfdebug && p - buf != width)
- abort();
nassigned++;
}
nread += width;
OpenPOWER on IntegriCloud