diff options
author | Oliver McFadden <z3ro.geek@gmail.com> | 2007-05-09 03:40:06 +0000 |
---|---|---|
committer | Oliver McFadden <z3ro.geek@gmail.com> | 2007-05-09 03:40:06 +0000 |
commit | d316b4dc22f4d5f0b91e665885a090395e2766c7 (patch) | |
tree | bd13a10a7d40b30b927e3d577565fba5f62b2d04 | |
parent | f0126a76ac9fc9c20b1b1aecf1d476d5fd432f36 (diff) |
r300: Corrected a couple of "control reaches end of non-void function" warnings.
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_vertprog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_vertprog.c b/src/mesa/drivers/dri/r300/r300_vertprog.c index ddb4996ee0..39d127c64a 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; } } |