git/xdiff
Johannes Schindelin 324fbaab88 xdiff: avoid using the comma operator unnecessarily
The comma operator is a somewhat obscure C feature that is often used by
mistake and can even cause unintentional code flow. While the code in
this patch used the comma operator intentionally (to avoid curly
brackets around two statements, each, that want to be guarded by a
condition), it is better to surround it with curly brackets and to use a
semicolon instead.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Acked-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-03-28 17:38:10 -07:00
..
xdiff.h xdiff: *.txt -> *.adoc fixes 2025-03-03 13:49:27 -08:00
xdiffi.c xdiff: avoid using the comma operator unnecessarily 2025-03-28 17:38:10 -07:00
xdiffi.h
…
xemit.c xdiff: avoid signed vs. unsigned comparisons in xemit.c 2025-02-12 09:41:16 -08:00
xemit.h
…
xhistogram.c xdiff: avoid signed vs. unsigned comparisons in xhistogram.c 2025-02-12 09:41:16 -08:00
xinclude.h xdiff: move sign comparison warning guard into each file 2025-02-12 09:41:15 -08:00
xmacros.h
…
xmerge.c
…
xpatience.c xdiff: *.txt -> *.adoc fixes 2025-03-03 13:49:27 -08:00
xprepare.c
…
xprepare.h
…
xtypes.h
…
xutils.c xdiff: avoid signed vs. unsigned comparisons in xutils.c 2025-02-12 09:41:17 -08:00
xutils.h
…