Jason Ekstrand <ja...@jlekstrand.net> writes: > C99 guarantees that, one one field is initialized with a designated > initializer then all fields not explicitly initialized get > zero-initialized. I can add it if you'd like none the less.
Yeah, I just thought it would be clearer to the reader if the field were explicitly initialized to the correct value, rather than having the compiler do it. >> This should probably be at the top of wsi_common.h with the other >> structure type values so we don't accidentally re-use this value. >> > > Sure. Awesome. Sounds like you're good to go. With the addition of the explicit initialization, this patch is Reviewed-by: Keith Packard <kei...@keithp.com> -- -keith
signature.asc
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev