llvmpipe: Initialize variable for potentially unhandled switch case.

This commit is contained in:
Vinson Lee
2010-09-14 00:17:13 -07:00
parent 45ee8463a2
commit aeb83928fd
@@ -212,6 +212,9 @@ generate_quad_mask(LLVMBuilderRef builder,
case 3:
shift = 10;
break;
default:
assert(0);
shift = 0;
}
mask_input = LLVMBuildLShr(builder,