aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorxtkoba <69125751+xtkoba@users.noreply.github.com>2021-05-01 22:26:55 +0900
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-05-03 11:17:14 +1200
commit511b2f300f996f4f4ea3420953eb3ded8e575016 (patch)
treef1f0d9335f3bffd4d99ff5bd346041bb47506942 /util.c
parent121fa24a3451b45c41ac0a661b64e9fc8600e589 (diff)
downloadruby-511b2f300f996f4f4ea3420953eb3ded8e575016.tar.gz
Get rid of misleading indentation
Diffstat (limited to 'util.c')
-rw-r--r--util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util.c b/util.c
index 8ec0cd60e5..21f5965aa4 100644
--- a/util.c
+++ b/util.c
@@ -400,7 +400,8 @@ ruby_qsort(void* base, const size_t nel, const size_t size, cmpfunc_t *cmp, void
for (;;) {
start:
if (L + size == R) { /* 2 elements */
- if ((*cmp)(L,R,d) > 0) mmswap(L,R); goto nxt;
+ if ((*cmp)(L,R,d) > 0) mmswap(L,R);
+ goto nxt;
}
l = L; r = R;