summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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;
}
}