From d2b0a6daa58c1347e4e6019f5cd95fdb9073e9be Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 9 May 2008 17:41:57 +0000 Subject: unposted: fix uninitialised variable --- Src/prompt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/prompt.c b/Src/prompt.c index 568c2e5ca..f83053a8f 100644 --- a/Src/prompt.c +++ b/Src/prompt.c @@ -1471,7 +1471,7 @@ match_named_colour(const char **teststrp) static int match_colour(const char **teststrp, int is_fg, int colour) { - int shft, on, named, tc; + int shft, on, named = 0, tc; if (teststrp) { if ((named = ialpha(**teststrp))) { -- cgit 1.4.1