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

Jan Vesely jan.vesely at rutgers.edu
Tue Sep 8 05:43:29 PDT 2015


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(-)
> 
I have had the same patch applied locally for some time.
squash to one patch and you can add
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>


-- 
Jan Vesely <jan.vesely at rutgers.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150908/2efe1b21/attachment.sig>


More information about the mesa-dev mailing list