From 1cec6d7d4387793a4a98c38313cfd74a8f5600b3 Mon Sep 17 00:00:00 2001 From: christos Date: Thu, 28 May 2015 11:53:49 +0000 Subject: [PATCH] remove unused variable. --- tw.color.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tw.color.c b/tw.color.c index 45dacc1..3969193 100644 --- a/tw.color.c +++ b/tw.color.c @@ -241,14 +241,11 @@ init(size_t colorlen, size_t extnum) static int color(Char x) { - int c; static const char ccolors[] = "abcdefghx"; char *p; if (Isupper(x)) { x = Tolower(x); - c |= TCSH_BOLD; - } else - c = 0; + } if (x == '\0' || (p = strchr(ccolors, x)) == NULL) return -1; -- 2.5.5