mesa/main: removing double semi-colons
authorJakob Sinclair <sinclair.jakob@openmailbox.org>
Wed, 13 Apr 2016 16:43:10 +0000 (18:43 +0200)
committerChad Versace <chad.versace@intel.com>
Tue, 26 Apr 2016 21:36:29 +0000 (14:36 -0700)
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@openmailbox.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
src/mesa/main/pipelineobj.c
src/mesa/main/shaderapi.c

index af17be2a3f46db375e1360feacd3c978ec9cf845..97285a28ab00dc31479504f5e411dcb3cdfbd1a6 100644 (file)
@@ -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,
index b28b5ce5457fcb36942c8d3186b0be728d8d0e5d..b972f8e495c43660e291f51dad30919e45a9e22f 100644 (file)
@@ -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: