summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-10-25 16:07:00 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-25 16:07:00 -0700
commit06355d72dc610ec3806cda328ec9b347a5daed5b (patch)
treea0b993df8cfe0ec915baf86c7326a07f2290dd78 /builtin
parentMerge branch 'tb/fix-midx-rename-while-mapped' (diff)
parentpkt-line.[ch]: remove unused packet_read_line_buf() (diff)
downloadtgif-06355d72dc610ec3806cda328ec9b347a5daed5b.tar.xz
Merge branch 'ab/pkt-line-cleanup'
Code clean-up. * ab/pkt-line-cleanup: pkt-line.[ch]: remove unused packet_read_line_buf() pkt-line.[ch]: remove unused packet_buf_write_len()
Diffstat (limited to 'builtin')
-rw-r--r--builtin/checkout--worker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/checkout--worker.c b/builtin/checkout--worker.c
index fb9fd13b73..ede7dc32a4 100644
--- a/builtin/checkout--worker.c
+++ b/builtin/checkout--worker.c
@@ -82,8 +82,8 @@ static void worker_loop(struct checkout *state)
size_t i, nr = 0, alloc = 0;
while (1) {
- int len = packet_read(0, NULL, NULL, packet_buffer,
- sizeof(packet_buffer), 0);
+ int len = packet_read(0, packet_buffer, sizeof(packet_buffer),
+ 0);
if (len < 0)
BUG("packet_read() returned negative value");