mie: ctx: fix mie_ctx_resolve_op not checking op-definition pointer properly
This commit is contained in:
@@ -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
|
const struct mie_op_definition *op_info
|
||||||
= mie_dialect_get_op(dialect, op_name);
|
= mie_dialect_get_op(dialect, op_name);
|
||||||
if (!op) {
|
if (!op_info) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user