summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-10-25 16:07:00 -0700
committerJunio C Hamano <gitster@pobox.com>2021-10-25 16:07:00 -0700
commit06355d72dc610ec3806cda328ec9b347a5daed5b (patch)
treea0b993df8cfe0ec915baf86c7326a07f2290dd78 /builtin
parentd54fd59d848422989268088c8fba01a5c27e8dc2 (diff)
parentec9a37d69b4b327c08668bb897f27f25276a5b1c (diff)
downloadgit-06355d72dc610ec3806cda328ec9b347a5daed5b.tar.gz
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");