On 04/25/2012 05:36 PM, Peter Hutterer wrote: > We implicitly rely on this already since we calloc the struct. Do it > expliclity on DeviceOn(). > > Signed-off-by: Peter Hutterer <[email protected]> > --- > This half of the fix to 49161 a bit redundant but better safe than sorry, > they say.
I have not problems with it, but this is basically how things are done all over the X stack. It's assumed structs are calloc'd where it isn't obvious pretty much. Does this mean we have to take up arms against all uninitialized members? :) Reviewed-by: Chase Douglas <[email protected]> _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
