aboutsummaryrefslogtreecommitdiffstats
path: root/src/expr.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2016-10-16 11:28:39 -0700
committerJim Meyering <meyering@fb.com>2016-10-16 11:28:39 -0700
commitf8b8bbc1b97c9cb7a56aae79451bf87ab7307cd2 (patch)
tree242a08bd45f3e09f33e372618d5ab248ad835e3d /src/expr.c
parentall: use die() rather than error(EXIT_FAILURE) (diff)
downloadcoreutils-f8b8bbc1b97c9cb7a56aae79451bf87ab7307cd2.tar.gz
coreutils-f8b8bbc1b97c9cb7a56aae79451bf87ab7307cd2.zip
maint: we use die; remove now-unnecessary uses of abort
* src/expr.c (integer_overflow): Remove an abort-after-die. * src/paste.c (write_error): Likewise. * src/sort.c (badfieldspec): Likewise. * src/tr.c (string2_extend): Likewise. Also remove a few break statements, each after an abort.
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c
index d7106ecdd..50e2283af 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -283,7 +283,6 @@ static void
integer_overflow (char op)
{
die (EXPR_FAILURE, ERANGE, "%c", op);
- abort (); /* notreached */
}
#endif