diff options
author | Lukas Fleischer <lfleischer@lfos.de> | 2016-06-14 16:49:17 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-06-16 11:40:31 -0700 |
commit | fcf0fe9e698b7ec3de4e8565030886fc4e4a2757 (patch) | |
tree | ce7b534302bd5bb6cae4d24471c53ceaa3d6ed1c /compat/unsetenv.c | |
parent | sideband.c: make send_sideband() return void (diff) | |
download | tgif-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 'compat/unsetenv.c')
0 files changed, 0 insertions, 0 deletions