On Fri, 3 Aug 2012 19:09:33 +0530, Datta, Shubhrajyoti wrote: > On Fri, Aug 3, 2012 at 6:44 PM, Jean Delvare <khali@xxxxxxxxxxxx> wrote: > > Good idea but I see no good reason to switch from struct-wide > > initialization to per-field initialization. AFAIK per-field > > initialization is less efficient and might leave some fields > > uninitialized, while I seem to remember struct-wide initialization sets > > them to 0. > in case of locals also? I _think_ so... But I admit I would be unable to quote the C99 standard on that. If someone knows for sure, please speak up. -- Jean Delvare -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html