]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(AD_mark_helper): Eliminate unnecessary comparison.
authorJim Meyering <jim@meyering.net>
Fri, 28 May 2004 21:39:55 +0000 (21:39 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 28 May 2004 21:39:55 +0000 (21:39 +0000)
src/remove.c

index 7ea522b1aa6607fd2088adb1dfd9ea57cb3d803a..a36041df7c4d77813669802952f7e92584fe0b21 100644 (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 ();
 }