diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-11-18 21:41:18 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-11-18 21:41:18 (GMT) |
commit | b39f1c56d5bdc92f81eb439f909ade9128dc8d60 (patch) | |
tree | 19ebcc95095f5aee2eab1e2dd58088890c280f98 /generic/tclBasic.c | |
parent | 377a4e24ed6f8e6703053293196811c74ea7c93f (diff) | |
parent | 25d746ccdbf62cc59c45ce4dc91c5cf45f905f17 (diff) | |
download | tcl-b39f1c56d5bdc92f81eb439f909ade9128dc8d60.zip tcl-b39f1c56d5bdc92f81eb439f909ade9128dc8d60.tar.gz tcl-b39f1c56d5bdc92f81eb439f909ade9128dc8d60.tar.bz2 |
Merge 8.7. ignore MP_WUR for mp_neg() calls with equal arguments (even though MP_WUR is not enabled yet)
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r-- | generic/tclBasic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index ca6b9f9..ac290b6 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -7922,7 +7922,7 @@ ExprAbsFunc( if (mp_isneg((const mp_int *) ptr)) { Tcl_GetBignumFromObj(NULL, objv[1], &big); tooLarge: - mp_neg(&big, &big); + (void)mp_neg(&big, &big); Tcl_SetObjResult(interp, Tcl_NewBignumObj(&big)); } else { unChanged: |