From da07aed1565198ddc95af70e479362f4f4309982 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; }