projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0126a7
)
r300: Corrected a couple of "control reaches end of non-void function" warnings.
author
Oliver McFadden
<z3ro.geek@gmail.com>
Wed, 9 May 2007 03:40:06 +0000
(
03:40
+0000)
committer
Oliver McFadden
<z3ro.geek@gmail.com>
Wed, 9 May 2007 03:40:06 +0000
(
03:40
+0000)
src/mesa/drivers/dri/r300/r300_vertprog.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_vertprog.c
b/src/mesa/drivers/dri/r300/r300_vertprog.c
index ddb4996ee028e1c357524832d0a9132ac2c68118..39d127c64ac6034a5ac9317e7bed7ed934e5afab 100644
(file)
--- 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;
}
}