(AD_mark_helper): Eliminate unnecessary comparison.

This commit is contained in:
Jim Meyering committed 2004-05-28 21:39:55 +00:00
1 parent 2f317665ed
commit 19387038f5
1 file changed
+6 -4
+6 -4
View File
@@ -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 ();
}