summaryrefslogtreecommitdiff
path: root/ewah/ewok.h
diff options
context:
space:
mode:
authorLibravatar Alex Henrie <alexhenrie24@gmail.com>2019-09-30 20:29:35 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-10-02 15:04:21 +0900
commitbaed6bbb5b56a501d1137e53caba614f77c3435d (patch)
treefd27f129a90d4221fd8f36ca5d8883db43ebc54d /ewah/ewok.h
parentcommit-graph: remove a duplicate assignment (diff)
downloadtgif-baed6bbb5b56a501d1137e53caba614f77c3435d.tar.xz
diffcore-break: use a goto instead of a redundant if statement
The condition "if (q->nr <= j)" checks whether the loop exited normally or via a break statement. Avoid this check by replacing the jump out of the inner loop with a jump to the end of the outer loop, which makes it obvious that diff_q is not executed when the peer survives. Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ewah/ewok.h')
0 files changed, 0 insertions, 0 deletions