projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
310ec9a
)
et/egl: Remove dead code.
author
Vinson Lee
<vlee@vmware.com>
Mon, 26 Apr 2010 07:19:14 +0000
(
00:19
-0700)
committer
Vinson Lee
<vlee@vmware.com>
Mon, 26 Apr 2010 07:19:14 +0000
(
00:19
-0700)
proc_name cannot be NULL after the switch statement. proc_name is
assigned a value or the function has already returned.
src/gallium/state_trackers/egl/common/egl_g3d_st.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/egl/common/egl_g3d_st.c
b/src/gallium/state_trackers/egl/common/egl_g3d_st.c
index 47ecc503eb7b163de279fd0ae5232e47271dd301..97445478684f1e772fb63f0359c5d36042e3e4cd 100644
(file)
--- a/
src/gallium/state_trackers/egl/common/egl_g3d_st.c
+++ b/
src/gallium/state_trackers/egl/common/egl_g3d_st.c
@@
-71,9
+71,6
@@
egl_g3d_create_st_api(enum st_api_type api)
return NULL;
}
- if (!proc_name)
- return NULL;
-
lib = util_dl_open(NULL);
if (lib) {
proc = util_dl_get_proc_address(lib, proc_name);