* src/mcs51/gen.c (genEndFunction): removed unused variable to fix
authorepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 14 Apr 2005 13:42:22 +0000 (13:42 +0000)
committerepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 14 Apr 2005 13:42:22 +0000 (13:42 +0000)
gcc warning.
* device/lib/Makefile.in: default PORTINCDIR to the mcs51 subdir to
fix sdcpp warnings.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3736 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
device/lib/Makefile.in
src/mcs51/gen.c

index 509b881858e062fe1dcecce7f0f4b47080a6f40c..fa28a3548cd29565da15563dce1d5105c15ab5ac 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-04-14 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+       * src/mcs51/gen.c (genEndFunction): removed unused variable to fix
+       gcc warning.
+       * device/lib/Makefile.in: default PORTINCDIR to the mcs51 subdir to
+       fix sdcpp warnings.
+
 2005-04-12 Maarten Brock <sourceforge.brock AT dse.nl>
 
        * device/include/malloc.h: removed redundant __reentrant prototypes
index 376a56bbbea581a09c7db7e7e824150fafa81f92..f64c2bf7a4e88f3b8e835507d8e513427f1158d2 100644 (file)
@@ -15,7 +15,7 @@ CP              = @CP@
 PRJDIR         = ../..
 INCDIR         = $(PRJDIR)/device/include
 ifndef PORTINCDIR
-PORTINCDIR     = $(INCDIR)
+PORTINCDIR     = $(INCDIR)/mcs51
 endif
 
 CC             = $(PRJDIR)/bin/sdcc
index 003afdfa6ad3fbca81313651502033913ae8a11d..2a20db2bd9a4010b44860e8817f2379101b85e77 100644 (file)
@@ -3058,7 +3058,6 @@ genEndFunction (iCode * ic)
   bitVect  *regsUsed;
   bitVect  *regsUsedPrologue;
   bitVect  *regsUnneeded;
-  int      accIsFree = sym->recvSize < 4;
   int      idx;
 
   _G.currentFunc = NULL;