summaryrefslogtreecommitdiff
path: root/GIT-VERSION-GEN
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@lfos.de>2016-06-14 16:49:17 +0200
committerJunio C Hamano <gitster@pobox.com>2016-06-16 11:40:31 -0700
commitfcf0fe9e698b7ec3de4e8565030886fc4e4a2757 (patch)
treece7b534302bd5bb6cae4d24471c53ceaa3d6ed1c /GIT-VERSION-GEN
parent4c4b7d1d3b5be12ad83d0ecfc537b40af37462c9 (diff)
downloadgit-fcf0fe9e698b7ec3de4e8565030886fc4e4a2757.tar.gz
upload-pack.c: make send_client_data() return voidlf/sideband-returns-void
The send_client_data() function uses write_or_die() for writing data which immediately terminates the process on errors. If no such error occurred, send_client_data() always returned the value that was passed as third parameter prior to this commit. This value is already known to the caller in any case, so let's turn send_client_data() into a void function instead. Signed-off-by: Lukas Fleischer <lfleischer@lfos.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'GIT-VERSION-GEN')
0 files changed, 0 insertions, 0 deletions