merge-recursive: remove return value from get_files_dirs
commitef9c4dc3b6a4feeabd28e9576260e077c607159e
authorKevin Willford <kewillf@microsoft.com>
Mon, 28 Aug 2017 20:28:28 +0000 (28 14:28 -0600)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Sep 2017 04:10:21 +0000 (6 13:10 +0900)
treeb6672715d1cf14e09682cc668f8b64e0a241a555
parente336bdc5b9bcb62982da9708dfb6e68150de72a3
merge-recursive: remove return value from get_files_dirs

The return value of the get_files_dirs call is never being used.
Looking at the history of the file and it was originally only
being used for debug output statements.  Also when
read_tree_recursive return value is non zero it is changed to
zero.  This leads me to believe that it doesn't matter if
read_tree_recursive gets an error.

Since the debug output has been removed and the caller isn't
checking the return value there is no reason to keep calculating
and returning a value.

Signed-off-by: Kevin Willford <kewillf@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
merge-recursive.c