Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_hash.c
| From: | Zeev Suraski | Date: | Tue, 05 Nov 2002 13:22:51 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_hash.c | ||
| References: | 1 2 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-555@lists.php.net to get a copy of this message | ||
At 14:20 05/11/2002, Ilia A. wrote:
First there is the compiler warning about un-initialized variable, which would occur if ordered is null. If that can never happen then this is just a compiler warning fix. If it can happen, then this prevents a possible undefined behaviour because p2 would be used without having it's value set, meaning that that any random value could be in there.It doesn't happen, I also don't recall ever seeing a compiler warning about it (the compiler should be bright enough to see that for itself...). What compiler are we talking about here? Zeev