Browse Source

upload-pack: fix a sparse '0 as NULL pointer' warning

Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Ramsay Jones 5 years ago committed by Junio C Hamano
parent
commit
cae2ee1055
  1. 2
      upload-pack.c

2
upload-pack.c

@ -1254,7 +1254,7 @@ void upload_pack(struct upload_pack_options *options) @@ -1254,7 +1254,7 @@ void upload_pack(struct upload_pack_options *options)
receive_needs(&data, &reader);
if (data.want_obj.nr) {
get_common_commits(&data, &reader);
create_pack_file(&data, 0);
create_pack_file(&data, NULL);
}
}


Loading…
Cancel
Save