This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git


The following commit(s) were added to refs/heads/master by this push:
     new bbbfc1b  [RUNTIME]fix unused-value warning (#5140)
bbbfc1b is described below

commit bbbfc1b0b753880e59d56e2115c65934053d113d
Author: windclarion <windclar...@gmail.com>
AuthorDate: Tue Mar 24 23:15:42 2020 +0800

    [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 433ae8a..6d7c010 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;
 }

Reply via email to