summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorGrazvydas Ignotas <[email protected]>2018-01-14 23:45:05 +0200
committerGrazvydas Ignotas <[email protected]>2018-01-17 00:39:55 +0200
commitcce982a70be5e24c6f6ee222c17c47eb8cba6921 (patch)
tree7347e86d2498470876e512956406367d10ecd1da /src/mesa/main
parente3adb1abaf739f317df3a67f61aea2013e88c840 (diff)
mesa: remove unneeded semicolons
Trivial. Found by Coccinelle. Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/dlist.c2
-rw-r--r--src/mesa/main/program_resource.c2
2 files changed, 2 insertions, 2 deletions
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) {