Mesa (master): mesa: remove unneeded semicolons

Grazvydas Ignotas notaz at kemper.freedesktop.org
Tue Jan 16 22:41:39 UTC 2018


Module: Mesa
Branch: master
Commit: cce982a70be5e24c6f6ee222c17c47eb8cba6921
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cce982a70be5e24c6f6ee222c17c47eb8cba6921

Author: Grazvydas Ignotas <notasas at gmail.com>
Date:   Sun Jan 14 23:45:05 2018 +0200

mesa: remove unneeded semicolons

Trivial. Found by Coccinelle.

Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

---

 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 b2121cbc34..fd5fb4b91c 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 b7d1406eb7..a6b212e25e 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 4eacdfb9e9..5fa5d7573b 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) {




More information about the mesa-commit mailing list