diff options
Diffstat (limited to 'runtime/src/runtime.c')
| -rw-r--r-- | runtime/src/runtime.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/src/runtime.c b/runtime/src/runtime.c index 9472438..ac40178 100644 --- a/runtime/src/runtime.c +++ b/runtime/src/runtime.c @@ -67,7 +67,9 @@ void mr_runtime_slave_init() struct mr_global_ctx * g_ctx = mr_global_ctx_get(); assert(g_ctx != NULL); - struct mr_runtime_ctx * rt_ctx = (struct mr_runtime_ctx *)g_ctx->ctx_runtime; + struct mr_runtime_ctx * rt_ctx = (struct mr_runtime_ctx *)g_ctx->ctx_runtime; + RTE_SET_USED(rt_ctx); + assert(g_ctx->ctx_runtime != NULL); assert(rt_ctx->app_ctx != NULL); assert(rt_ctx->hwinfo_ctx != NULL); |
