From b1993abfe7cc95ef744dcec557020ee56e69101a Mon Sep 17 00:00:00 2001 From: vrokas Date: Tue, 15 Mar 2005 00:13:18 +0000 Subject: [PATCH] * src/pic16/genutils.c (pic16_genCmp_special): initialized offs to prevent compiler warning git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3695 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 7 ++++++- src/pic16/genutils.c | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 99640ebc..d5cacd96 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,9 @@ -2005-03-12 Vangelis Rokas +2005-03-15 Vangelis Rokas + + * src/pic16/genutils.c (pic16_genCmp_special): initialized offs to + prevent compiler warning + +2005-03-14 Vangelis Rokas * device/lib/pic16/startup/crt0i.c (_cinit): local variables where moved to level 0 and declared as static. Also they are explicit diff --git a/src/pic16/genutils.c b/src/pic16/genutils.c index 35273afb..d227e0ab 100644 --- a/src/pic16/genutils.c +++ b/src/pic16/genutils.c @@ -497,7 +497,7 @@ int pic16_genCmp_special(operand *left, operand *right, operand *result, iCode *ifx, resolvedIfx *rIfx, int sign) { int size; - int offs; + int offs=0; symbol *tmplbl; unsigned long lit; int op, cmp_op=0; -- 2.30.2