Re: [PATCH v2 09/12] fetch: don't redundantly NULL something calloc() gave us

2018-01-21 Thread Ævar Arnfjörð Bjarmason
On Sun, Jan 21 2018, Ævar Arnfjörð Bjarmason jotted: > 2007-09-10), where wasn't any reason to do this back then either, it's s/where wasn't/where there wasn't/ > The initial motivation for this change was to make a subsequent change > which'll also modify the refs variable smaller, since it

[PATCH v2 09/12] fetch: don't redundantly NULL something calloc() gave us

2018-01-20 Thread Ævar Arnfjörð Bjarmason
Stop redundantly NULL-ing the last element of the refs structure, which was retrieved via calloc(), and is thus guaranteed to be pre-NULL'd. This code dates back to b888d61c83 ("Make fetch a builtin", 2007-09-10), where wasn't any reason to do this back then either, it's just something left over