mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-03 03:58:54 +00:00
fixed a warning on an unreferenced local variable (#4861)
The warning prevented me from building the code with VS 2019, because it was treated as an error.
This commit is contained in:
parent
dc50aa42d5
commit
101cd80bd7
1 changed files with 1 additions and 1 deletions
|
|
@ -251,7 +251,7 @@ class FuseExecutionProviderX : public CPUExecutionProvider {
|
|||
tvm::TVMRetValue rvalue;
|
||||
try {
|
||||
evaluate_func_.CallPacked(tvm_args, &rvalue);
|
||||
} catch (std::exception& ex) {
|
||||
} catch (std::exception&) {
|
||||
return Status(common::ONNXRUNTIME, common::FAIL); // TODO: Translate exception to error code
|
||||
}
|
||||
if (rvalue.type_code() != kNull) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue