#47902 [Asn->Fbk]: free_op1 warnings

From: Date: Mon, 06 Apr 2009 11:25:34 +0000
Subject: #47902 [Asn->Fbk]: free_op1 warnings
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-135571@lists.php.net to get a copy of this message
ID: 47902 Updated by: dmitry@php.net Reported By: pierre dot php at gmail dot com -Status: Assigned +Status: Feedback Bug Type: Compile Warning PHP Version: 5.3CVS-2009-04-05 (snap) Assigned To: dmitry New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#135571) next »