From: Brian Date: Thu, 30 Aug 2007 22:01:23 +0000 (-0600) Subject: fix unhandled switch/case warning X-Git-Tag: 062012170305~17580^2~390^2~4140 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f1a0decad6baabed55371415fa4f75309c4c559;p=profile%2Fivi%2Fmesa.git fix unhandled switch/case warning --- diff --git a/src/mesa/pipe/softpipe/sp_prim_setup.c b/src/mesa/pipe/softpipe/sp_prim_setup.c index b3c9f51..e7b58e5 100644 --- a/src/mesa/pipe/softpipe/sp_prim_setup.c +++ b/src/mesa/pipe/softpipe/sp_prim_setup.c @@ -717,6 +717,10 @@ setup_line_coefficients(struct setup_stage *setup, struct prim_header *prim) for (j = 0; j < NUM_CHANNELS; j++) line_persp_coeff(setup, slot, j); break; + + default: + /* invalid interp mode */ + assert(0); } } }