A few missing returns

This commit is contained in:
nemerle 2016-05-04 09:54:38 +02:00
parent 4dc321650f
commit 29353111ac
3 changed files with 3 additions and 1 deletions

View File

@ -84,6 +84,7 @@ struct LoaderMetadata {
case eMedium: return 'm'; case eMedium: return 'm';
case eLarge: return 'l'; case eLarge: return 'l';
} }
return 'x';
} }
}; };
class Project : public QObject class Project : public QObject

View File

@ -222,5 +222,5 @@ bool CreateFunction::execute(CommandContext *ctx) {
//proj.addCommand(new FollowControl()); //proj.addCommand(new FollowControl());
/* Recursively build entire procedure list */ /* Recursively build entire procedure list */
//proj.callGraph->proc->FollowCtrl(proj.callGraph, &proj.m_entry_state); //proj.callGraph->proc->FollowCtrl(proj.callGraph, &proj.m_entry_state);
return true;
} }

View File

@ -718,6 +718,7 @@ bool PatternLocator::readProtoFile(void)
// fread(&pArg[i], 1, SYMLEN, fProto); /* No names to read as yet */ // fread(&pArg[i], 1, SYMLEN, fProto); /* No names to read as yet */
pArg.push_back((hlType) readFileShort(fProto)); pArg.push_back((hlType) readFileShort(fProto));
} }
return true;
} }
int PatternLocator::searchPList(const char *name) int PatternLocator::searchPList(const char *name)