remove switch-enum warnings

This commit is contained in:
Philippe Teuwen
2020-05-11 23:50:14 +02:00
parent 36c523659b
commit b46a99d7d7
8 changed files with 19 additions and 10 deletions

View File

@@ -424,10 +424,13 @@ static bool emojify_token(const char *token, uint8_t token_length, const char **
}
break;
}
default: {// ERASE
case ERASE: {
*emojified_token_length = 0;
break;
}
case ALIAS: { // should never happen
return false;
}
}
return true;
}