projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6406bc1
)
st/mesa: remove unneeded break from st_api_create_context()
author
Emil Velikov
<emil.velikov@collabora.com>
Tue, 7 Jun 2016 16:33:47 +0000
(17:33 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Mon, 13 Jun 2016 14:31:28 +0000
(15:31 +0100)
We have return on the previous line, thus the break will never be
reached.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/state_tracker/st_manager.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_manager.c
b/src/mesa/state_tracker/st_manager.c
index 7c8cb6356871d5b5bc51271a76ce3d6b65f90494..997d4284497f65fbf8294561e22077f731a6b478 100644
(file)
--- a/
src/mesa/state_tracker/st_manager.c
+++ b/
src/mesa/state_tracker/st_manager.c
@@
-654,7
+654,6
@@
st_api_create_context(struct st_api *stapi, struct st_manager *smapi,
default:
*error = ST_CONTEXT_ERROR_BAD_API;
return NULL;
- break;
}
if (attribs->flags & ST_CONTEXT_FLAG_ROBUST_ACCESS)