diff options
author | Jim Meyering <jim@meyering.net> | 2004-05-28 21:39:55 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-05-28 21:39:55 +0000 |
commit | 19387038f5d33dd8dc7bcde9ee6f3bad8d409c35 (patch) | |
tree | 03a71ebb1e3a7e0af87be38ae3b3f69e0229aa21 /src | |
parent | 2f317665ed9fc69725b556a729b3b1afafd127f5 (diff) | |
download | coreutils-19387038f5d33dd8dc7bcde9ee6f3bad8d409c35.tar.xz |
(AD_mark_helper): Eliminate unnecessary comparison.
Diffstat (limited to 'src')
-rw-r--r-- | src/remove.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/remove.c b/src/remove.c index 7ea522b1a..a36041df7 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 (); } |