remove switch-enum warnings
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user