From: borutr Date: Wed, 7 Aug 2002 21:20:13 +0000 (+0000) Subject: - added return 0 statements after assert() to make compiler happy X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=a6376ed6ca9283900f6b1c7a78d81d052704c5b9;p=fw%2Fsdcc - added return 0 statements after assert() to make compiler happy git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2060 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/ds390/ralloc.c b/src/ds390/ralloc.c index bd2ee321..5a0fad33 100644 --- a/src/ds390/ralloc.c +++ b/src/ds390/ralloc.c @@ -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; } /*-----------------------------------------------------------------*/ diff --git a/src/mcs51/ralloc.c b/src/mcs51/ralloc.c index 0ecbb87d..ddfef2de 100644 --- a/src/mcs51/ralloc.c +++ b/src/mcs51/ralloc.c @@ -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; } /*-----------------------------------------------------------------*/ diff --git a/src/z80/ralloc.c b/src/z80/ralloc.c index 5cd9ac0f..1f0aa6b2 100644 --- a/src/z80/ralloc.c +++ b/src/z80/ralloc.c @@ -796,6 +796,9 @@ static regs *getRegGprNoSpil() return reg; } assert(0); + + /* just to make the compiler happy */ + return 0; } /** Symbol has a given register.