summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tr.c b/src/tr.c
index 479d3d367..eae96873c 100644
--- a/src/tr.c
+++ b/src/tr.c
@@ -1420,6 +1420,7 @@ string2_extend (const struct Spec_list *s1, struct Spec_list *s2)
error (EXIT_FAILURE, 0,
_("when translating with string1 longer than string2,\n\
the 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: