From bbbfc1b0b753880e59d56e2115c65934053d113d Mon Sep 17 00:00:00 2001 From: windclarion Date: Tue, 24 Mar 2020 23:15:42 +0800 Subject: [PATCH] [RUNTIME]fix unused-value warning (#5140) --- src/runtime/crt/crt_runtime_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/crt/crt_runtime_api.c b/src/runtime/crt/crt_runtime_api.c index 433ae8ad3457..6d7c010e3757 100644 --- a/src/runtime/crt/crt_runtime_api.c +++ b/src/runtime/crt/crt_runtime_api.c @@ -79,7 +79,7 @@ int TVMModGetFunction(TVMModuleHandle mod, if (!strcmp(func_name, "load_params")) { *out = &TVMGraphRuntime_LoadParams; } else { - status -1; + status = -1; } return status; }