[Mesa-dev] [PATCH 0/4] Resolve GCC missing field initializer warnings

Rhys Kidd rhyskidd at gmail.com
Tue Sep 8 03:21:45 PDT 2015


Resolve a series of missing field initializer warnings within get_hash_params.py

This changeset addresses some likely code rot around the *extra field, where the
initialization is via C code generated indirectly from a Python script.

As a new contributor, I am continuing to focus on manageable, easily reviewed,
discrete improvements. This patchset resolves a number of warnings reported
by GCC when configured to be pedantic.

$ gcc --version
gcc (Ubuntu 4.9.2-10ubuntu13) 4.9.2

No piglit regressions on Ironlake.

Rhys Kidd (4):
  mesa: Resolve GCC missing field initializer warning.
  mesa: Resolve GCC missing field initializer warning.
  mesa: Resolve GCC missing field initializer warning.
  mesa: Resolve GCC missing field initializer warning.

 src/mesa/main/get_hash_params.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
2.1.4



More information about the mesa-dev mailing list