* 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.
integer_overflow (char op)
{
die (EXPR_FAILURE, ERANGE, "%c", op);
- abort (); /* notreached */
}
#endif
write_error (void)
{
die (EXIT_FAILURE, errno, _("write error"));
- abort ();
}
/* Output a single byte, reporting any write errors. */
{
die (SORT_FAILURE, 0, _("%s: invalid field specification %s"),
_(msgid), quote (spec));
- abort ();
}
/* Report incompatible options. */
incompatible_options (char const *opts)
{
die (SORT_FAILURE, 0, _("options '-%s' are incompatible"), (opts));
- abort ();
}
/* Check compatibility of ordering options. */
break;
default:
abort ();
- break;
}
return !! result;
default:
abort ();
- break;
}
return return_val;
default:
abort ();
- break;
}
/* Check for arithmetic overflow in computing length. Also, reject
die (EXIT_FAILURE, 0,
_("when translating with string1 longer than string2,\nthe\
latter string must not end with a character class"));
- abort (); /* inform gcc that the above use of error never returns. */
- break;
case RE_REPEATED_CHAR:
char_to_repeat = p->u.repeated_char.the_repeated_char;
/* This shouldn't happen, because validate exits with an error
if it finds an equiv class in string2 when translating. */
abort ();
- break;
default:
abort ();
- break;
}
append_repeated_char (s2, char_to_repeat, s1->length - s2->length);