Fix style issues reported by clang-tidy (#1167)

This commit is contained in:
Fangjun Kuang
2024-07-23 09:26:36 +08:00
committed by GitHub
parent d32a46169f
commit 299f1a852b
7 changed files with 21 additions and 22 deletions

View File

@@ -91,7 +91,6 @@ class MeloTtsLexicon::Impl {
std::vector<TokenIDs> ans;
TokenIDs this_sentence;
int32_t blank = token2id_.at("_");
for (const auto &w : words) {
auto ids = ConvertWordToIds(w);
if (ids.tokens.empty()) {