builtin/diff.c: remove duplicated call to diff_result_code()
commite7c3a59c22b28002d7cab3a4a0807fdc0d2388c9
authorJunio C Hamano <gitster@pobox.com>
Tue, 22 Mar 2011 21:17:30 +0000 (22 14:17 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 22 Mar 2011 21:29:06 +0000 (22 14:29 -0700)
treee548f0eae1fe9c8eb01684cdb3f2ee6a4b5dcce4
parentc2e86addb86689306b992065328ec52aa2479658
builtin/diff.c: remove duplicated call to diff_result_code()

The return value from builtin_diff_files() is fed to diff_result_code()
by the caller, and all other callees like builtin_diff_index() do not
have their own call to diff_result_code().  Remove the duplicated one
from builtin_diff_files() and let the caller handle it.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/diff.c