diff --git a/mie/ctx.c b/mie/ctx.c index 2b489e8..df6a5e7 100644 --- a/mie/ctx.c +++ b/mie/ctx.c @@ -95,7 +95,7 @@ bool mie_ctx_resolve_op(const struct mie_ctx *ctx, struct mie_op *op) const struct mie_op_definition *op_info = mie_dialect_get_op(dialect, op_name); - if (!op) { + if (!op_info) { return false; }