Re: [PATCH] Clean up struct initalizations
| From: | Ilia Alshanetsky | Date: | Tue, 27 Nov 2007 14:00:05 +0000 |
| Subject: | Re: [PATCH] Clean up struct initalizations | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33455@lists.php.net to get a copy of this message | ||
IMHO {0} is sufficiently clear for human consumption.
On 27-Nov-07, at 8:49 AM, Andy Lester wrote:
On Nov 27, 2007, at 2:53 AM, Stanislav Malyshev wrote:Ilia AlshanetskyYes. My patch is for human benefit, not the compiler's. -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance --PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.phpI've been working on making PHP build under more stringent error checking, specifically -Wextra under GCC. This patch cleans up dozens of struct initializations that are valid C, but could hide future problems.Doesn't C standard mandate filling up uninitialized fields with 0?