[Mesa-dev] [PATCH 0/4] Fix some compile warnings

Kai Wasserb├Ąch kai at dev.carbon-project.org
Fri Aug 17 14:32:30 UTC 2018


Hey,
while building Mesa I saw several warnings scroll by and this series
addresses the first four I saw in my build log.

The changes have been compile-tested in a clean chroot (pbuilder)
environment.

If you accept the patches, please apply them for me, as I don't have
commit access for Mesa. The commits can also be found on GitLab
<https://gitlab.freedesktop.org/curan/mesa/commits/fix-some-warnings>.

Cheers,
Kai


Kai Wasserb├Ąch (4):
  util: mark s as MAYBE_UNUSED in _mesa_half_to_unorm8
  nir: mark *prev_block as MAYBE_UNUSED in opt_peel_loop_initial_if
  vulkan/wsi: initialise image_index to 0 in x11_manage_fifo_queues
  amd/addrlib: mark returnCode as MAYBE_UNUSED in ElemGetExportNorm

 src/amd/Makefile.addrlib.am       | 1 +
 src/amd/addrlib/addrinterface.cpp | 4 +++-
 src/compiler/nir/nir_opt_if.c     | 2 +-
 src/util/half_float.c             | 3 ++-
 src/vulkan/wsi/wsi_common_x11.c   | 2 +-
 5 files changed, 8 insertions(+), 4 deletions(-)

-- 
2.18.0



More information about the mesa-dev mailing list