Mesa (master): mesa/main: removing double semi-colons
Chad Versace
chadversary at kemper.freedesktop.org
Tue Apr 26 20:40:25 UTC 2016
Module: Mesa
Branch: master
Commit: 12da8bb5f4a9b8aab96450f8152cf9b4c20cb0a9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=12da8bb5f4a9b8aab96450f8152cf9b4c20cb0a9
Author: Jakob Sinclair <sinclair.jakob at openmailbox.org>
Date: Wed Apr 13 18:43:10 2016 +0200
mesa/main: removing double semi-colons
Trivial change. Removing unnecessary semi-colons from the code.
I don't have push access so someone reviewing this can push it.
Signed-off-by: Jakob Sinclair <sinclair.jakob at openmailbox.org>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Reviewed-by: Chad Versace <chad.versace at intel.com>
---
src/mesa/main/pipelineobj.c | 2 +-
src/mesa/main/shaderapi.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/pipelineobj.c b/src/mesa/main/pipelineobj.c
index af17be2..97285a2 100644
--- a/src/mesa/main/pipelineobj.c
+++ b/src/mesa/main/pipelineobj.c
@@ -626,7 +626,7 @@ _mesa_GetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params)
/* Are geometry shaders available in this context?
*/
const bool has_gs = _mesa_has_geometry_shaders(ctx);
- const bool has_tess = _mesa_has_tessellation(ctx);;
+ const bool has_tess = _mesa_has_tessellation(ctx);
if (!pipe) {
_mesa_error(ctx, GL_INVALID_OPERATION,
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
index b28b5ce..b972f8e 100644
--- a/src/mesa/main/shaderapi.c
+++ b/src/mesa/main/shaderapi.c
@@ -2398,7 +2398,7 @@ _mesa_GetActiveSubroutineUniformiv(GLuint program, GLenum shadertype,
res = _mesa_program_resource_find_index(shProg, resource_type, index);
if (res) {
values[0] = strlen(_mesa_program_resource_name(res)) + 1
- + ((_mesa_program_resource_array_size(res) != 0) ? 3 : 0);;
+ + ((_mesa_program_resource_array_size(res) != 0) ? 3 : 0);
}
break;
default:
More information about the mesa-commit
mailing list