It seems we have enough branches that the compiler gets confused now, and
I can also suppress the warning by replacing "unreachable()" with
"return". Unreachable is good for debugging, so just 0-init the values.
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7664>
{
enum a6xx_state_block sb = fd6_stage2shadersb(so->type);
- uint32_t obj_start;
- uint32_t instrlen;
+ uint32_t obj_start = 0;
+ uint32_t instrlen = 0;
switch (so->type) {
case MESA_SHADER_VERTEX: