summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-09-03 22:45:36 -0600
committerJim Meyering <meyering@redhat.com>2009-09-11 14:08:58 +0200
commit398749b0cc49773320e6bc56eafabe7e85437412 (patch)
treea2a6a44ee48e5d6ea2a830eff1ed19c72fd3168a /src
parente5dba03d2f02d4df2ac84abad2dba995c47afbfc (diff)
downloadcoreutils-398749b0cc49773320e6bc56eafabe7e85437412.tar.xz
rm: avoid compiler warning
* src/remove.c (rm_fts): Don't allow fall-through when assertions are disabled.
Diffstat (limited to 'src')
-rw-r--r--src/remove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remove.c b/src/remove.c
index d6d680316..87fb32bf9 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 ();
}
}