summaryrefslogtreecommitdiff
path: root/compat/regex/regexec.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2025-03-27 11:52:57 +0000
committerJunio C Hamano <gitster@pobox.com>2025-03-28 17:38:09 -0700
commit0fbbb2c9f595a8460a7fd7c72d4e95081eb96b08 (patch)
treea443d551b0ea0c5b5b1d153ede3ea6c826ed50e8 /compat/regex/regexec.c
parent22542b6f9ef24d1058b01d7e9f837607728de710 (diff)
clar: 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. In this instance, it makes the code harder to read than necessary, too. Better 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>
Diffstat (limited to 'compat/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions