From ce63ca30ae924810b888cb22a31446b782abeb66 Mon Sep 17 00:00:00 2001 From: kbongers Date: Sat, 9 Feb 2002 07:08:24 +0000 Subject: [PATCH] fix uninitialized red variable git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1909 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- device/examples/test2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/device/examples/test2.c b/device/examples/test2.c index 914afade..13c19806 100644 --- a/device/examples/test2.c +++ b/device/examples/test2.c @@ -293,7 +293,8 @@ void tint() interrupt 1 using 1 */ unsigned char codigo(unsigned char tc1,unsigned char tc2,unsigned char tc3,unsigned char tc4) { - unsigned char red; +// unsigned char red; + unsigned char red = 0; if (tc1 != 0x00) { -- 2.30.2