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