mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 04:10:09 +01:00
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 <emil.velikov@collabora.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
6406bc1592
commit
a4fa8bf819
1 changed files with 0 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue