From 19387038f5d33dd8dc7bcde9ee6f3bad8d409c35 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 28 May 2004 21:39:55 +0000 Subject: [PATCH] (AD_mark_helper): Eliminate unnecessary comparison. --- src/remove.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/remove.c b/src/remove.c index 7ea522b..a36041d 100644 --- a/src/remove.c +++ b/src/remove.c @@ -418,10 +418,12 @@ static void AD_mark_helper (Hash_table **ht, char const *filename) { if (*ht == NULL) - *ht = hash_initialize (HT_UNREMOVABLE_INITIAL_CAPACITY, NULL, hash_pjw, - hash_compare_strings, hash_freer); - if (*ht == NULL) - xalloc_die (); + { + *ht = hash_initialize (HT_UNREMOVABLE_INITIAL_CAPACITY, NULL, hash_pjw, + hash_compare_strings, hash_freer); + if (*ht == NULL) + xalloc_die (); + } if (! hash_insert (*ht, filename)) xalloc_die (); } -- 2.7.4