summaryrefslogtreecommitdiff
path: root/scanf
diff options
context:
space:
mode:
authorMarco Bodrato <bodrato@mail.dm.unipi.it>2020-12-13 19:11:37 +0100
committerMarco Bodrato <bodrato@mail.dm.unipi.it>2020-12-13 19:11:37 +0100
commit92604e5f8ba14cc0493528931351ada5eb6bee59 (patch)
tree9d841357d3a35b367b2458b3f91520d23cc097bc /scanf
parent0ae32d97e977aa105d441c5b56ecf851a0facea2 (diff)
downloadgmp-92604e5f8ba14cc0493528931351ada5eb6bee59.tar.gz
scanf/doscan.c: Mask ASSERT_CODE
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 (;;)
{