diff options
author | Kevin Willford <kewillf@microsoft.com> | 2017-08-28 14:28:28 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-06 13:10:21 +0900 |
commit | ef9c4dc3b6a4feeabd28e9576260e077c607159e (patch) | |
tree | b6672715d1cf14e09682cc668f8b64e0a241a555 /t/t5571-pre-push-hook.sh | |
parent | merge-recursive: fix memory leak (diff) | |
download | tgif-ef9c4dc3b6a4feeabd28e9576260e077c607159e.tar.xz |
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>
Diffstat (limited to 't/t5571-pre-push-hook.sh')
0 files changed, 0 insertions, 0 deletions