Steve Hay wrote:

>There is also a new "use before definition" warning regarding "gimme" in 
>pp_ctl.c line 2825 - the PUSHBLOCK call below:
>
>    PL_op = &dummy;
>    PL_op->op_type = OP_ENTEREVAL;
>    PL_op->op_flags = 0;            /* Avoid uninit warning. */
>    PUSHBLOCK(cx, CXt_EVAL|(IN_PERL_COMPILETIME ? 0 : CXp_REAL), SP);
>    PUSHEVAL(cx, 0, Nullgv);
>
>This is caused by the following hunk of change 24997:
>
>@@ -2767,7 +2768,7 @@
>     dVAR; dSP;                /* Make POPBLOCK work. */
>     PERL_CONTEXT *cx;
>     SV **newsp;
>-    I32 gimme = 0;   /* SUSPECT - INITIALZE TO WHAT?  NI-S */
>+    I32 gimme;
>     I32 optype;
>     OP dummy;
>     OP *rop;
>
>Should I put that initialization back to silence the warning, or is 
>there a better fix?
>
Looks like Dave just did it in change 25035 :-)



------------------------------------------------
Radan Computational Ltd.

The information contained in this message and any files transmitted with it are 
confidential and intended for the addressee(s) only.  If you have received this 
message in error or there are any problems, please notify the sender 
immediately.  The unauthorized use, disclosure, copying or alteration of this 
message is strictly forbidden.  Note that any views or opinions presented in 
this email are solely those of the author and do not necessarily represent 
those of Radan Computational Ltd.  The recipient(s) of this message should 
check it and any attached files for viruses: Radan Computational will accept no 
liability for any damage caused by any virus transmitted by this email.

Reply via email to