summaryrefslogtreecommitdiff
path: root/scanf
diff options
context:
space:
mode:
Diffstat (limited to 'scanf')
-rw-r--r--scanf/doscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scanf/doscan.c b/scanf/doscan.c
index 8d9c1bbf2..eecd31b7f 100644
--- a/scanf/doscan.c
+++ b/scanf/doscan.c
@@ -499,7 +499,7 @@ __gmp_doscan (const struct gmp_doscan_funs_t *funs, void *data,
alloc_fmt = __GMP_ALLOCATE_FUNC_TYPE (alloc_fmt_size, char);
fmt = orig_fmt;
- end_fmt = orig_fmt + orig_fmt_len;
+ ASSERT_CODE (end_fmt = orig_fmt + orig_fmt_len);
for (;;)
{