Skip to content

Commit

Permalink
Remove unused exception parameter from capella/tools/cli/py_bind/uri_…
Browse files Browse the repository at this point in the history
…builder.cpp

Summary: pulling in direct change in fbsource: D56724177

Reviewed By: jbower-fb

Differential Revision:
D56783076

Privacy Context Container: L1125187

fbshipit-source-id: 4013089254c90fe2649f16a212a5bc59cd1dab0e
  • Loading branch information
Johnston Jiaa authored and facebook-github-bot committed May 1, 2024
1 parent 31844b6 commit a85ea96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cinderx/Jit/perf_jitdump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ int copyJitFile(const std::string& parent_filename) {
std::get<0>(jit_entry),
std::get<1>(jit_entry),
std::get<2>(jit_entry));
} catch (const std::invalid_argument& e) {
} catch (const std::invalid_argument&) {
JIT_LOG("Error: Invalid JIT entry: {} \n", buf);
}
}
Expand Down Expand Up @@ -367,7 +367,7 @@ int copyJitEntries(const std::string& parent_filename) {
std::get<0>(jit_entry),
std::get<1>(jit_entry),
std::get<2>(jit_entry));
} catch (const std::invalid_argument& e) {
} catch (const std::invalid_argument&) {
JIT_LOG("Error: Invalid JIT entry: {} \n", buf);
}
}
Expand Down
2 changes: 1 addition & 1 deletion cinderx/StrictModules/analyzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ void Analyzer::visitTry(const stmt_ty stmt) {
if (!caughtException) {
visitStmtSeq(tryStmt.orelse);
}
} catch (StrictModuleUserException<BaseStrictObject>& e) {
} catch (StrictModuleUserException<BaseStrictObject>&) {
visitStmtSeq(tryStmt.finalbody);
throw;
}
Expand Down

0 comments on commit a85ea96

Please sign in to comment.