summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_vertprog.c
diff options
context:
space:
mode:
authorOliver McFadden <[email protected]>2007-05-09 03:40:06 +0000
committerOliver McFadden <[email protected]>2007-05-09 03:40:06 +0000
commitd316b4dc22f4d5f0b91e665885a090395e2766c7 (patch)
treebd13a10a7d40b30b927e3d577565fba5f62b2d04 /src/mesa/drivers/dri/r300/r300_vertprog.c
parentf0126a76ac9fc9c20b1b1aecf1d476d5fd432f36 (diff)
r300: Corrected a couple of "control reaches end of non-void function" warnings.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_vertprog.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_vertprog.c2
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 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;
}
}