Git fork

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>

authored by

Johannes Schindelin and committed by
Junio C Hamano
f569065f 683c54c9

+2 -2
+2 -2
remote-curl.c
··· 1239 1239 packet_buf_flush(&preamble); 1240 1240 1241 1241 memset(&rpc, 0, sizeof(rpc)); 1242 - rpc.service_name = "git-upload-pack", 1242 + rpc.service_name = "git-upload-pack"; 1243 1243 rpc.gzip_request = 1; 1244 1244 1245 1245 err = rpc_service(&rpc, heads, args.v, &preamble, &rpc_result); ··· 1401 1401 packet_buf_flush(&preamble); 1402 1402 1403 1403 memset(&rpc, 0, sizeof(rpc)); 1404 - rpc.service_name = "git-receive-pack", 1404 + rpc.service_name = "git-receive-pack"; 1405 1405 1406 1406 err = rpc_service(&rpc, heads, args.v, &preamble, &rpc_result); 1407 1407 if (rpc_result.len)