mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-27 17:40:43 +00: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
@ -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…
Reference in New Issue
Block a user