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

Iago Toral itoral at igalia.com
Tue Sep 8 03:56:55 PDT 2015


Thanks! I think I would have squashed these together in one patch, it is
the same one-line fix in 4 consecutive lines after all. In any case,
this series is:

Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>

On Tue, 2015-09-08 at 20:21 +1000, Rhys Kidd wrote:
> 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(-)
> 




More information about the mesa-dev mailing list