git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2473
4a8a32a2-be11-0410-ad9d-
d568d2c75423
if (!options.lessPedantic) {
// this is a good place to check missing return values
if (currFunc) {
if (!options.lessPedantic) {
// this is a good place to check missing return values
if (currFunc) {
- if (!IS_VOID(currFunc->type->next)) {
+ if (!IS_VOID(currFunc->etype)) {
eBBlock *bp;
// make sure all predecessors of the last block end in a return
for (bp=setFirstItem(ebbs[saveCount-1]->predList);
eBBlock *bp;
// make sure all predecessors of the last block end in a return
for (bp=setFirstItem(ebbs[saveCount-1]->predList);