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