diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2013-04-22 21:52:14 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-05-01 15:33:09 -0700 |
commit | b830f6c66b2fd635d9cfa318d047917ea987a719 (patch) | |
tree | 3252fb4b2938d422329e19fe5d719e66c6278412 /refs.c | |
parent | 3feb4f0cfb7597a98d6e650abc8e9a1a9a0d65b5 (diff) | |
download | git-b830f6c66b2fd635d9cfa318d047917ea987a719.tar.gz git-b830f6c66b2fd635d9cfa318d047917ea987a719.tar.xz |
do_for_each_ref_in_dirs(): remove dead code
There is no way to drop out of the while loop. This code has been
dead since 432ad41e.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.c')
-rw-r--r-- | refs.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -667,13 +667,6 @@ static int do_for_each_ref_in_dirs(struct ref_dir *dir1, if (retval) return retval; } - if (i1 < dir1->nr) - return do_for_each_ref_in_dir(dir1, i1, - base, fn, trim, flags, cb_data); - if (i2 < dir2->nr) - return do_for_each_ref_in_dir(dir2, i2, - base, fn, trim, flags, cb_data); - return 0; } /* |