summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-06-07 17:33:47 +0100
committerEmil Velikov <[email protected]>2016-06-13 15:31:28 +0100
commita4fa8bf819fd7189ab1d41e82b79dc007f7a7300 (patch)
tree55d90dac9c7de7bfb28a38be021c6c88ec59db20 /src
parent6406bc15926b1a2f6ad62dc4a3770b0d4f484e7d (diff)
st/mesa: remove unneeded break from st_api_create_context()
We have return on the previous line, thus the break will never be reached. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/state_tracker/st_manager.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c
index 7c8cb635687..997d4284497 100644
--- 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)