aboutsummaryrefslogtreecommitdiff
path: root/src/waffle/api/waffle_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/waffle/api/waffle_context.c')
-rw-r--r--src/waffle/api/waffle_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waffle/api/waffle_context.c b/src/waffle/api/waffle_context.c
index 00649ba..ca22814 100644
--- a/src/waffle/api/waffle_context.c
+++ b/src/waffle/api/waffle_context.c
@@ -43,7 +43,7 @@ waffle_context_create(
obj_list[len++] = wc_config ? &wc_config->api : NULL;
if (wc_shared_ctx)
- obj_list[len++] = wc_shared_ctx ? &wc_shared_ctx->api : NULL;
+ obj_list[len++] = &wc_shared_ctx->api;
if (!api_check_entry(obj_list, len))
return NULL;