mailsplit.c: remove dead code
authorStefan Beller <redacted>
Tue, 12 Aug 2014 21:21:27 +0000 (23:21 +0200)
committerJunio C Hamano <redacted>
Wed, 13 Aug 2014 16:50:58 +0000 (09:50 -0700)
commit13b081257a6c996e6c62316be1d1a6f615514ed2
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 <redacted>
Helped-by: René Scharfe <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/mailsplit.c
git clone https://git.99rst.org/PROJECT