# New Ticket Created by Andrew Whitworth # Please include the string: [perl #54062] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=54062 >
MSVC-x86 outputs a warning for src/oo.c: src\oo.c(513) : warning C4189: '_class' : local variable is initialized but not referenced The function in question, Parrot_find_vtable_meth, declares the variable "_class" twice: once at the beginning of the function, and once inside the for loop. This redeclaration is confusing at best, and emits a warning because the value for _class is not used inside the for loop. Is this a stub for future functionality, or is this second redefinition unnecessary? In the event that this redefinition is not necessary, I have included a patch to kill it. I'm building right now to verify that everything succeeds without this. --Andrew Whitworth
oo_c_redef_fix.patch
Description: Binary data