From cce982a70be5e24c6f6ee222c17c47eb8cba6921 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Sun, 14 Jan 2018 23:45:05 +0200 Subject: [PATCH] mesa: remove unneeded semicolons Trivial. Found by Coccinelle. Reviewed-by: Eric Engestrom --- src/gbm/backends/dri/gbm_dri.c | 2 +- src/mesa/main/dlist.c | 2 +- src/mesa/main/program_resource.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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) { -- 2.30.2