On Mon, 2010-01-11 at 23:13 +0100, Michael Buesch wrote: > No I don't think so. > It's C standard that uninitialized elements on automatic variables are > initialized > to zero, _if_ at least one element is initialized to something. > So if you init one element to 0, all others will be 0, too.
AFAIK, you don't even have to init anything, since otherwise not
mentioned fields will be set to 0. Hence, just = {} is sufficient for
arrays and will hopefully compile to the same code as an explicit
memset().
johannes
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Bcm43xx-dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/bcm43xx-dev
