diff options
author | Grazvydas Ignotas <[email protected]> | 2018-01-14 23:45:05 +0200 |
---|---|---|
committer | Grazvydas Ignotas <[email protected]> | 2018-01-17 00:39:55 +0200 |
commit | cce982a70be5e24c6f6ee222c17c47eb8cba6921 (patch) | |
tree | 7347e86d2498470876e512956406367d10ecd1da | |
parent | e3adb1abaf739f317df3a67f61aea2013e88c840 (diff) |
mesa: remove unneeded semicolons
Trivial. Found by Coccinelle.
Reviewed-by: Eric Engestrom <[email protected]>
-rw-r--r-- | src/gbm/backends/dri/gbm_dri.c | 2 | ||||
-rw-r--r-- | src/mesa/main/dlist.c | 2 | ||||
-rw-r--r-- | 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) { |