main: fix several 'may be used uninitialized' warnings
authorAndrii Simiklit <andrii.simiklit@globallogic.com>
Mon, 28 Oct 2019 12:23:55 +0000 (14:23 +0200)
committerEric Engestrom <eric@engestrom.ch>
Thu, 31 Oct 2019 10:14:09 +0000 (10:14 +0000)
commite06fcbe2c870ea7bea39863b9d97796f7c1efe6a
tree64da6555b363754fbd5d5d7c7a0fc27e4e3727f5
parent3e86d553a470c484b6a2c60bc7866759ec21fea5
main: fix several 'may be used uninitialized' warnings

This patch fixes approximately 39 warnings in 'texcompress_etc.c'
for the release configuration

v2: Fixed by adding the unreachable case to the etc2_rgb8_fetch_texel
       ( Eric Engestrom <eric.engestrom@intel.com> )

Acked-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Signed-off-by: Andrii Simiklit <andrii.simiklit@globallogic.com>
src/mesa/main/texcompress_etc.c