Re: [PATCH] Clean up struct initalizations
| From: | Stanislav Malyshev | Date: | Tue, 27 Nov 2007 18:30:35 +0000 |
| Subject: | Re: [PATCH] Clean up struct initalizations | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33467@lists.php.net to get a copy of this message | ||
No, the compiler makes sure I got them all, and it does it with {0}. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.comNot sure I see how it helps - suppose we add a field into structure, does it mean one has to go over all the code that ever mentioned this structure and add zeroes? How helpful is that?Makes sure you got them all, doesn't it?