OSDN Git Service
(root)
/
android-x86
/
external-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
ddb4996
..
39d127c
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;
}
}