No void functions with out return statement...
Status: Inactive
Brought to you by:
floele
2 functions with out return statement (build compilation on gcc-12 and potential incorrect work)
umap.hpp line 125:
valT& at(int index)
{
if(index < size() && index >= 0)
{
return sortv[index]->second;
}
}
print_css.cpp line 76:
int csstidy::_seeknocomment(const int key, int move)
{
int go = (move > 0) ? 1 : -1;
for (int i = key + 1; abs(key-i)-1 < abs(move); i += go) {
if (i < 0 || i > csstokens.size()) {
return -1;
}
if (csstokens[i].type == COMMENT) {
move += 1;
continue;
}
return csstokens[i].type;
}
}