Skip to content

Commit cae2ee1

Browse files
ramsay-jonesgitster
authored andcommitted
upload-pack: fix a sparse '0 as NULL pointer' warning
Signed-off-by: Ramsay Jones <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent dd4b732 commit cae2ee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

upload-pack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1254,7 +1254,7 @@ void upload_pack(struct upload_pack_options *options)
12541254
receive_needs(&data, &reader);
12551255
if (data.want_obj.nr) {
12561256
get_common_commits(&data, &reader);
1257-
create_pack_file(&data, 0);
1257+
create_pack_file(&data, NULL);
12581258
}
12591259
}
12601260

0 commit comments

Comments
 (0)