From: Oliver McFadden Date: Wed, 9 May 2007 03:40:06 +0000 (+0000) Subject: r300: Corrected a couple of "control reaches end of non-void function" warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d316b4dc22f4d5f0b91e665885a090395e2766c7;p=mesa.git r300: Corrected a couple of "control reaches end of non-void function" warnings. --- diff --git a/src/mesa/drivers/dri/r300/r300_vertprog.c b/src/mesa/drivers/dri/r300/r300_vertprog.c index ddb4996ee02..39d127c64ac 100644 --- a/src/mesa/drivers/dri/r300/r300_vertprog.c +++ b/src/mesa/drivers/dri/r300/r300_vertprog.c @@ -174,6 +174,7 @@ static unsigned long t_dst_class(enum register_file file) default: fprintf(stderr, "problem in %s", __FUNCTION__); _mesa_exit(-1); + return -1; } } @@ -208,6 +209,7 @@ static unsigned long t_src_class(enum register_file file) default: fprintf(stderr, "problem in %s", __FUNCTION__); _mesa_exit(-1); + return -1; } }