]> git.gag.com Git - fw/sdcc/commitdiff
- added return 0 statements after assert() to make compiler happy
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 7 Aug 2002 21:20:13 +0000 (21:20 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 7 Aug 2002 21:20:13 +0000 (21:20 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2060 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/ds390/ralloc.c
src/mcs51/ralloc.c
src/z80/ralloc.c

index bd2ee321bce9945ef35f9a1b01912bbac1e85462..5a0fad3397fe8b13a2ca0b4f01f3c18244895511 100644 (file)
@@ -861,6 +861,9 @@ static regs *getRegPtrNoSpil()
     return reg;
 
   assert(0);
+
+  /* just to make the compiler happy */
+  return 0;
 }
 
 /*-----------------------------------------------------------------*/
@@ -878,6 +881,9 @@ static regs *getRegGprNoSpil()
       return reg;
 
   assert(0);
+
+  /* just to make the compiler happy */
+  return 0;
 }
 
 /*-----------------------------------------------------------------*/
index 0ecbb87dd5daa51fa6a9084b83b98c5d1b821d7a..ddfef2de582b8f84101234d245bf5c671056f573 100644 (file)
@@ -844,6 +844,9 @@ static regs *getRegPtrNoSpil()
     return reg;
 
   assert(0);
+
+  /* just to make the compiler happy */
+  return 0;
 }
 
 /*-----------------------------------------------------------------*/
@@ -861,6 +864,9 @@ static regs *getRegGprNoSpil()
       return reg;
 
   assert(0);
+
+  /* just to make the compiler happy */
+  return 0;
 }
 
 /*-----------------------------------------------------------------*/
index 5cd9ac0f259daf5327ca63c7de1604b221f5f28e..1f0aa6b2fe3efaf849110fb87cf65be4f8369693 100644 (file)
@@ -796,6 +796,9 @@ static regs *getRegGprNoSpil()
       return reg;
     }
   assert(0);
+
+  /* just to make the compiler happy */
+  return 0;
 }
 
 /** Symbol has a given register.