]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
rm: avoid compiler warning
authorEric Blake <ebb9@byu.net>
Fri, 4 Sep 2009 04:45:36 +0000 (22:45 -0600)
committerJim Meyering <meyering@redhat.com>
Fri, 11 Sep 2009 12:08:58 +0000 (14:08 +0200)
* src/remove.c (rm_fts): Don't allow fall-through when assertions
are disabled.

src/remove.c

index d6d680316bfc5492f123da1acda083ab363fa0cc..87fb32bf9cdfbc27c7828852f97d2b4a085ee85c 100644 (file)
@@ -575,7 +575,7 @@ The following directory is part of the cycle:\n  %s\n"),
              ent->fts_info,
              quote (ent->fts_path),
              PACKAGE_BUGREPORT);
-      assert (0);
+      abort ();
     }
 }