Unverified Commit bbbfc1b0 by windclarion Committed by GitHub

[RUNTIME]fix unused-value warning (#5140)

parent 667e24f6
...@@ -79,7 +79,7 @@ int TVMModGetFunction(TVMModuleHandle mod, ...@@ -79,7 +79,7 @@ int TVMModGetFunction(TVMModuleHandle mod,
if (!strcmp(func_name, "load_params")) { if (!strcmp(func_name, "load_params")) {
*out = &TVMGraphRuntime_LoadParams; *out = &TVMGraphRuntime_LoadParams;
} else { } else {
status -1; status = -1;
} }
return status; return status;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment