From: Eric Blake Date: Fri, 4 Sep 2009 04:45:36 +0000 (-0600) Subject: rm: avoid compiler warning X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=41c9e064a6a976b881bd6d0ff6c0836a0039e0f2;p=thirdparty%2Fcoreutils.git rm: avoid compiler warning * src/remove.c (rm_fts): Don't allow fall-through when assertions are disabled. --- diff --git a/src/remove.c b/src/remove.c index d6d680316b..87fb32bf9c 100644 --- a/src/remove.c +++ b/src/remove.c @@ -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 (); } }