remove switch-enum warnings

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

No files matched your search

+4 -1
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;
}