From 45e0dd95ba0f710e5150c403f144a85f7f95c91d Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 13 Apr 2000 19:10:40 +0000 Subject: [PATCH] (tparam1): Abort when encountering an unknown `%'-specifier. --- src/tparam.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tparam.c b/src/tparam.c index ae12e72ac7b..42be1f12884 100644 --- a/src/tparam.c +++ b/src/tparam.c @@ -290,6 +290,9 @@ tparam1 (string, outstring, len, up, left, argp) case 'D': /* %D means weird Delta Data transformation. */ argp[0] -= 2 * (tem % 16); break; + + default: + abort (); } } else -- 2.39.5