Skip to content

Commit 9524752

Browse files
CodemodService Botfacebook-github-bot
CodemodService Bot
authored andcommitted
Fix CQS signal. Id] 9250181 -- readability-redundant-string-init in fbcode/pytorch/tokenizers/src
Reviewed By: dtolnay Differential Revision: D72781132
1 parent 4167468 commit 9524752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hf_tokenizer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace tokenizers {
3131
Error HFTokenizer::load(const std::string& path) {
3232
// If this is a directory, look for tokenizer.json and tokenizer_config.json
3333
std::string model_json = path;
34-
std::string model_config_json = "";
34+
std::string model_config_json;
3535
if (fs::is_directory(path)) {
3636
const fs::path root(path);
3737
model_json = root / "tokenizer.json";

0 commit comments

Comments
 (0)