ID: 47902 Updated by: [email protected] Reported By: pierre dot php at gmail dot com Status: Feedback Bug Type: Compile Warning PHP Version: 5.3CVS-2009-04-05 (snap) Assigned To: dmitry New Comment:
It is not that important to fix, you asked me to open a bug about it :) However, there is no inaccurate behavior, if the code using this variable is unreachable, then the variable is not used at all (typically if (0) will striped out). Previous Comments: ------------------------------------------------------------------------ [2009-04-06 11:25:34] [email protected] These warnings occurs because of inaccurate C compiler behaviour. In case you look into zend\zend_vm_execute.h(17488) and the whole function, you would see that free_op1 is used in this function, however the code which references the variable is unreachable. A general solution to eliminate such warnings would require parsing of C source code. I don't think it make sense to invest time into it to just to remove warnings. ------------------------------------------------------------------------ [2009-04-05 17:23:52] pierre dot php at gmail dot com Description: ------------ zend\zend_vm_execute.h(17488) : warning C4101: 'free_op1' : unreferenced local variable dozen of times, the generation script could be fixed to silent them. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47902&edit=1
