From: Vincent Pit Date: Sat, 11 Oct 2008 16:53:46 +0000 (+0200) Subject: w->cb_dup is currently always NULL X-Git-Tag: v0.23~1 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;ds=inline;h=02f8f67606edc22d31e01944a649f5e0824b33ba;p=perl%2Fmodules%2FVariable-Magic.git w->cb_dup is currently always NULL --- diff --git a/Magic.xs b/Magic.xs index e17a267..4574c23 100644 --- a/Magic.xs +++ b/Magic.xs @@ -318,7 +318,7 @@ STATIC UV vmg_cast(pTHX_ SV *sv, SV *wiz, AV *args) { if (w->cb_copy) mg->mg_flags |= MGf_COPY; #endif /* MGf_COPY */ -#if MGf_DUP +#if 0 /* MGf_DUP */ if (w->cb_dup) mg->mg_flags |= MGf_DUP; #endif /* MGf_DUP */ @@ -677,7 +677,7 @@ STATIC int vmg_wizard_free(pTHX_ SV *wiz, MAGIC *mg) { #if MGf_COPY if (w->cb_copy != NULL) { SvREFCNT_dec(SvRV(w->cb_copy)); } #endif /* MGf_COPY */ -#if MGf_DUP +#if 0 /* MGf_DUP */ if (w->cb_dup != NULL) { SvREFCNT_dec(SvRV(w->cb_dup)); } #endif /* MGf_DUP */ #if MGf_LOCAL