summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Lukas Fleischer <lfleischer@lfos.de>2016-06-14 16:49:17 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-06-16 11:40:31 -0700
commitfcf0fe9e698b7ec3de4e8565030886fc4e4a2757 (patch)
treece7b534302bd5bb6cae4d24471c53ceaa3d6ed1c /Documentation
parentsideband.c: make send_sideband() return void (diff)
downloadtgif-fcf0fe9e698b7ec3de4e8565030886fc4e4a2757.tar.xz
upload-pack.c: make send_client_data() return 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 'Documentation')
0 files changed, 0 insertions, 0 deletions