mergetool--lib: remove no-op assignment to $status from setup_user_tool
commite00e13e2aa5e94dc77dedb8f2026198300c7c8fe
authorJunio C Hamano <gitster@pobox.com>
Fri, 21 Nov 2014 19:17:57 +0000 (21 11:17 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Nov 2014 19:27:37 +0000 (21 11:27 -0800)
treed7c3b9fbe2d850540eb4dfe12dd99cd40dc23701
parent3f78278beb9792368de7edbbb031c3a88e0038a1
mergetool--lib: remove no-op assignment to $status from setup_user_tool

Even though setup_user_tool assigns the exit status from "eval
$merge_tool_cmd" to $status, the variable is overwritten by the
function it calls next, check_unchanged, without ever getting looked
at by anybody.  And "return $status" at the end of this function
returns the value check_unchanged assigned to it (which is the same
as the value the function returns).  Which makes the assignment a
no-op.

Remove it.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-mergetool--lib.sh