From: Mark Wooding Date: Fri, 14 Jul 2017 22:12:33 +0000 (+0100) Subject: rand.c: Newline to placate GCC. X-Git-Tag: 1.3.0~35 X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/commitdiff_plain/6a080b289fa8c961e788a9a79d3a4a6fbb21539c rand.c: Newline to placate GCC. Honestly, I don't see how a reader would think that the statement following the `goto' was similarly covered by the conditional, but my styling is obviously very different from everyone else's. --- diff --git a/rand.c b/rand.c index 6fe78bc..2136c97 100644 --- a/rand.c +++ b/rand.c @@ -1250,7 +1250,8 @@ static PyObject *bbsget_x(PyObject *me, void *hunoz) static int bbsset_x(PyObject *me, PyObject *val, void *hunoz) { mp *x = 0; grand *r = GRAND_R(me); int rc = -1; if (!x) NIERR("__del__"); - if ((x = getmp(val)) == 0) goto end; r->ops->misc(r, BBS_SET, x); rc = 0; + if ((x = getmp(val)) == 0) goto end; + r->ops->misc(r, BBS_SET, x); rc = 0; end: mp_drop(x); return (rc); }