From e39b02362169921f82ac6b1070960dca07dd878b Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Thu, 14 Apr 2011 14:22:20 +0200 Subject: [PATCH] Remove the unused function fail_char(). --- ir/tv/fltcalc.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/ir/tv/fltcalc.c b/ir/tv/fltcalc.c index 72ab7e70e..c8575ad0a 100644 --- a/ir/tv/fltcalc.c +++ b/ir/tv/fltcalc.c @@ -130,20 +130,6 @@ static int max_precision; /** Exact flag. */ static int fc_exact = 1; -#if 0 -static void fail_char(const char *str, unsigned int len, int pos) -{ - if (*(str+pos)) - printf("ERROR: Unexpected character '%c'\n", *(str + pos)); - else - printf("ERROR: Unexpected end of string\n"); - while (len-- && *str) printf("%c", *str++); printf("\n"); - while (pos--) printf(" "); printf("^\n"); - /* the front end has to to check constant strings */ - exit(-1); -} -#endif - /** pack machine-like */ static void *pack(const fp_value *int_float, void *packed) { -- 2.20.1