From a4fa8bf819fd7189ab1d41e82b79dc007f7a7300 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 7 Jun 2016 17:33:47 +0100 Subject: [PATCH] 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 Reviewed-by: Ian Romanick --- src/mesa/state_tracker/st_manager.c | 1 - 1 file changed, 1 deletion(-) 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) -- 2.30.2