{"thread":{"id":"50698","subject":"[PATCH] upload-pack.c: fix a sparse 'NULL pointer' warning","startedAt":"2019-03-08T19:46:46Z","lastAt":"2019-03-08T19:46:46Z","messageCount":1,"participants":["Ramsay Jones"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"371006","messageId":"3d3e6647-0f22-aed5-f388-fe5243662f94@ramsayjones.plus.com","threadId":"50698","inReplyTo":null,"subject":"[PATCH] upload-pack.c: fix a sparse 'NULL pointer' warning","fromName":"Ramsay Jones","fromEmail":"ramsay@ramsayjones.plus.com","sentAt":"2019-03-08T19:46:41Z","receivedAt":"2019-03-08T19:46:46Z","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/fetch-cdn-offload' branch, could you\nplease squash this into the relevant patch (commit 0e821b4427\n(\"upload-pack: send part of packfile response as uri\", 2019-02-23)).\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 534e8951a2..a421df2bbb 100644\n--- a/upload-pack.c\n+++ b/upload-pack.c\n@@ -1164,7 +1164,7 @@ void upload_pack(struct upload_pack_options *options)\n \tif (want_obj.nr) {\n \t\tstruct object_array have_obj = OBJECT_ARRAY_INIT;\n \t\tget_common_commits(&reader, &have_obj, &want_obj);\n-\t\tcreate_pack_file(&have_obj, &want_obj, 0);\n+\t\tcreate_pack_file(&have_obj, &want_obj, NULL);\n \t}\n }\n \n-- \n2.21.0\n"}]}