From 8f1a0decad6baabed55371415fa4f75309c4c559 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 30 Aug 2007 16:01:23 -0600 Subject: [PATCH] fix unhandled switch/case warning --- src/mesa/pipe/softpipe/sp_prim_setup.c | 4 ++++ 1 file changed, 4 insertions(+) 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); } } } -- 2.30.2