Re: [PATCH] Clean up struct initalizations
| From: | Stanislav Malyshev | Date: | Tue, 27 Nov 2007 18:23:05 +0000 |
| Subject: | Re: [PATCH] Clean up struct initalizations | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33463@lists.php.net to get a copy of this message | ||
Not 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? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.comDoesn't C standard mandate filling up uninitialized fields with 0?Yes. My patch is for human benefit, not the compiler's.