mesa: remove unneeded semicolons
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 14 Jan 2018 21:45:05 +0000 (23:45 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Tue, 16 Jan 2018 22:39:55 +0000 (00:39 +0200)
Trivial. Found by Coccinelle.

Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/gbm/backends/dri/gbm_dri.c
src/mesa/main/dlist.c
src/mesa/main/program_resource.c

index b2121cbc34055f689fb0258fc40943ecb9d670d3..fd5fb4b91c4181f059a91ee968c6fc3aef653ea7 100644 (file)
@@ -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;
 
index b7d1406eb748eec7b7d7b78a2b636736f231e9fa..a6b212e25e56758b301f094427f69e670fc03651 100644 (file)
@@ -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:
index 4eacdfb9e9aeda6c09170220df369828799f102c..5fa5d7573bf20bb635a7a1e8d248a8b17efb9a91 100644 (file)
@@ -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) {