]> git.ipfire.org Git - thirdparty/git.git/commit
kwset: avoid using the comma operator unnecessarily
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 27 Mar 2025 11:52:56 +0000 (11:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 29 Mar 2025 00:38:09 +0000 (17:38 -0700)
commit22542b6f9ef24d1058b01d7e9f837607728de710
tree46385c2b866a22528752bd836056c8a3453cc23b
parent38c696d66b9d3a8f4f3363cc4254dd130723f396
kwset: 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. 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>
kwset.c