Trivial. Found by Coccinelle. --- 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 b2121cb..fd5fb4b 100644 --- a/src/gbm/backends/dri/gbm_dri.c +++ b/src/gbm/backends/dri/gbm_dri.c @@ -438,11 +438,11 @@ dri_screen_create_dri2(struct gbm_dri_device *dri, char *driver_name) ret = dri_load_driver(dri); if (ret) { fprintf(stderr, "failed to load driver: %s\n", dri->driver_name); return ret; - }; + } dri->loader_extensions = gbm_dri_screen_extensions; if (dri->dri2 == NULL) return -1; diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index b7d1406..a6b212e 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -1910,11 +1910,11 @@ save_CallLists(GLsizei num, GLenum type, const GLvoid * lists) n = alloc_instruction(ctx, OPCODE_CALL_LISTS, 2 + POINTER_DWORDS); if (n) { 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: */ invalidate_saved_current_state( ctx ); diff --git a/src/mesa/main/program_resource.c b/src/mesa/main/program_resource.c index 4eacdfb..5fa5d75 100644 --- a/src/mesa/main/program_resource.c +++ b/src/mesa/main/program_resource.c @@ -198,11 +198,11 @@ _mesa_GetProgramInterfaceiv(GLuint program, GLenum programInterface, default: _mesa_error(ctx, GL_INVALID_OPERATION, "glGetProgramInterfaceiv(%s pname %s)", _mesa_enum_to_string(programInterface), _mesa_enum_to_string(pname)); - }; + } break; case GL_MAX_NUM_COMPATIBLE_SUBROUTINES: switch (programInterface) { case GL_VERTEX_SUBROUTINE_UNIFORM: case GL_FRAGMENT_SUBROUTINE_UNIFORM: -- 2.7.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev