mailsplit.c: remove dead code
commit13b081257a6c996e6c62316be1d1a6f615514ed2
authorStefan Beller <stefanbeller@gmail.com>
Tue, 12 Aug 2014 21:21:27 +0000 (12 23:21 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Aug 2014 16:50:58 +0000 (13 09:50 -0700)
tree05c761f0b673197fbae8fca5d9af60739be5d1bf
parente6aaa393478bf3ee9f4cde8d82cd258c034cd335
mailsplit.c: remove dead code

This was found by coverity. (Id: 290001)

The variable 'output' is assigned to a value
after all gotos to the corrupt label.

Remove the goto by moving the errorhandling code to the
condition, which detects the error.

Signed-off-by: Stefan Beller <stefanbeller@gmail.com>
Helped-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/mailsplit.c