cache_tree_find(): remove redundant checks
commit72c378d8a618b9a57e4edf12700c51b0af86f124
authorMichael Haggerty <mhagger@alum.mit.edu>
Wed, 5 Mar 2014 17:26:25 +0000 (5 18:26 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Mar 2014 20:33:02 +0000 (5 12:33 -0800)
tree82d2f1188ea58935d427609baec2d3fb2c93a804
parent2f93541d88fadd1ff5307d81c2c8921ee3eea058
cache_tree_find(): remove redundant checks

slash is initialized to a value that cannot be NULL.  So remove the
guards against slash == NULL later in the loop.

Suggested-by: David Kastrup <dak@gnu.org>
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache-tree.c