From: Vincent Pit Date: Sun, 1 Mar 2009 18:13:52 +0000 (+0100) Subject: The current op is always non-null in our vmg_opclass() X-Git-Tag: v0.33~21 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FVariable-Magic.git;a=commitdiff_plain;h=381ddc3601a29d14e23535dc97fc2c64cb9c495d The current op is always non-null in our vmg_opclass() --- diff --git a/Magic.xs b/Magic.xs index 14a33f4..1c25a9b 100644 --- a/Magic.xs +++ b/Magic.xs @@ -229,8 +229,10 @@ STATIC const char *const vmg_opclassnames[] = { }; STATIC opclass vmg_opclass(const OP *o) { +#if 0 if (!o) return OPc_NULL; +#endif if (o->op_type == 0) return (o->op_flags & OPf_KIDS) ? OPc_UNOP : OPc_BASEOP;