receive-pack: call string_list_clear() unconditionally
commit4432dd6b5bb5ad33bb20966807c0fda4b0e3cb65
authorRené Scharfe <l.s.r@web.de>
Sun, 29 Jan 2017 13:09:46 +0000 (29 14:09 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Jan 2017 23:08:58 +0000 (30 15:08 -0800)
tree2870e700cdfab223b15342a7fe7a37bbc9916de3
parentad36dc8b4b165bf9eb3576b42a241164e312d48c
receive-pack: call string_list_clear() unconditionally

string_list_clear() handles empty lists just fine, so remove the
redundant check.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/receive-pack.c