From: Grazvydas Ignotas Date: Sun, 14 Jan 2018 21:45:05 +0000 (+0200) Subject: mesa: remove unneeded semicolons X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cce982a70be5e24c6f6ee222c17c47eb8cba6921;p=mesa.git mesa: remove unneeded semicolons Trivial. Found by Coccinelle. Reviewed-by: Eric Engestrom --- diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c index b2121cbc340..fd5fb4b91c4 100644 --- a/src/gbm/backends/dri/gbm_dri.c +++ b/src/gbm/backends/dri/gbm_dri.c @@ -440,7 +440,7 @@ dri_screen_create_dri2(struct gbm_dri_device *dri, char *driver_name) if (ret) { fprintf(stderr, "failed to load driver: %s\n", dri->driver_name); return ret; - }; + } dri->loader_extensions = gbm_dri_screen_extensions; diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index b7d1406eb74..a6b212e25e5 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -1912,7 +1912,7 @@ save_CallLists(GLsizei num, GLenum type, const GLvoid * lists) n[1].i = num; n[2].e = type; save_pointer(&n[3], lists_copy); - }; + } /* After this, we don't know what state we're in. Invalidate all * cached information previously gathered: diff --git a/src/mesa/main/program_resource.c b/src/mesa/main/program_resource.c index 4eacdfb9e9a..5fa5d7573bf 100644 --- a/src/mesa/main/program_resource.c +++ b/src/mesa/main/program_resource.c @@ -200,7 +200,7 @@ _mesa_GetProgramInterfaceiv(GLuint program, GLenum programInterface, "glGetProgramInterfaceiv(%s pname %s)", _mesa_enum_to_string(programInterface), _mesa_enum_to_string(pname)); - }; + } break; case GL_MAX_NUM_COMPATIBLE_SUBROUTINES: switch (programInterface) {