http-push: don't check return value of lookup_unknown_object()
commite94eac49e6edb1ef37796e11bf52a7cb301645e8
authorRené Scharfe <l.s.r@web.de>
Fri, 17 Mar 2017 22:12:31 +0000 (17 23:12 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 18 Mar 2017 17:14:07 +0000 (18 10:14 -0700)
treee12d0a8766594c90a8c828ceda23c793ca0e7a73
parentc3808ca6982b0ad7ee9b87eca9b50b9a24ec08b0
http-push: don't check return value of lookup_unknown_object()

This function always returns a reference to an object, creating one if
needed, so remove the unnecessary NULL check.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-push.c