chiark / gitweb /
rand.c: Newline to placate GCC.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 14 Jul 2017 22:12:33 +0000 (23:12 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 15 Jul 2017 14:07:09 +0000 (15:07 +0100)
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.

rand.c

diff --git a/rand.c b/rand.c
index 6fe78bc758990ac36022447731243d3cc1fd714e..2136c97fc65db6a930efe1b336d571444f9d9664 100644 (file)
--- 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);
 }