From: Brian Date: Thu, 30 Aug 2007 22:01:23 +0000 (-0600) Subject: fix unhandled switch/case warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f1a0decad6baabed55371415fa4f75309c4c559;p=mesa.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 b3c9f51e95c..e7b58e53140 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); } } }