Skip to content

Commit 2dd303e

Browse files
authored
Remove unused exception parameter from pymk/aggregator/early_stage_ranking/EarlyStageRanker.cpp
Differential Revision: D79968824 Pull Request resolved: #117
1 parent 287ef1a commit 2dd303e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hf_tokenizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Error HFTokenizer::load(const std::string& path) {
138138
try {
139139
_decoder =
140140
TokenDecoderConfig().parse_json(parsed_json.at("decoder")).create();
141-
} catch (const json::out_of_range& e) {
141+
} catch (const json::out_of_range&) {
142142
// No decoder specified
143143
}
144144

0 commit comments

Comments
 (0)