{"thread":{"id":"53686","subject":"[PATCH] upload-pack: fix a sparse '0 as NULL pointer' warning","startedAt":"2020-06-15T23:00:29Z","lastAt":"2020-06-15T23:00:29Z","messageCount":1,"participants":["Ramsay Jones"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"399832","messageId":"494e000a-17a5-b730-b032-1fc0e8690c07@ramsayjones.plus.com","threadId":"53686","inReplyTo":null,"subject":"[PATCH] upload-pack: fix a sparse '0 as NULL pointer' warning","fromName":"Ramsay Jones","fromEmail":"ramsay@ramsayjones.plus.com","sentAt":"2020-06-15T23:00:20Z","receivedAt":"2020-06-15T23:00:29Z","isPatch":true,"sender":{"key":"ramsay@ramsayjones.plus.com","avatar":"https://avatars.githubusercontent.com/u/33702710?v=4"},"body":"\nSigned-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>\n---\n\nHi Jonathan,\n\nIf you need to re-roll your 'jt/cdn-offload' branch, could you please\nsquash this into the relevant patch (commit dd4b732df7 (upload-pack: send\npart of packfile response as uri, 2020-06-10)).\n\nThanks!\n\nATB,\nRamsay Jones\n\n upload-pack.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/upload-pack.c b/upload-pack.c\nindex b4fd85fb9a..951a2b23aa 100644\n--- a/upload-pack.c\n+++ b/upload-pack.c\n@@ -1246,7 +1246,7 @@ void upload_pack(struct upload_pack_options *options)\n \t\treceive_needs(&data, &reader);\n \t\tif (data.want_obj.nr) {\n \t\t\tget_common_commits(&data, &reader);\n-\t\t\tcreate_pack_file(&data, 0);\n+\t\t\tcreate_pack_file(&data, NULL);\n \t\t}\n \t}\n \n-- \n2.27.0\n"}]}