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:
Yang Chen 2020-08-19 19:20:55 -07:00 committed by GitHub
parent dc50aa42d5
commit 101cd80bd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {