summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakob Sinclair <[email protected]>2016-04-13 18:43:09 +0200
committerChad Versace <[email protected]>2016-04-26 14:36:29 -0700
commit09e4ac00ac90dd6d1f6bcb4c4e2875bb8a0ce1c6 (patch)
tree6aa95a9b231e17b1f2a138623130ac2d667a3254 /src
parent52c7443932bd38d6708fcab2a8dfcc7ed3d678f2 (diff)
glsl: 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 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Edward O'Callaghan <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/compiler/glsl/ast_function.cpp2
-rw-r--r--src/compiler/glsl/ir_rvalue_visitor.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/glsl/ast_function.cpp b/src/compiler/glsl/ast_function.cpp
index db68d5dfa48..f50c7bf7b71 100644
--- a/src/compiler/glsl/ast_function.cpp
+++ b/src/compiler/glsl/ast_function.cpp
@@ -1690,7 +1690,7 @@ process_record_constructor(exec_list *instructions,
constructor_type->fields.structure[i].name,
ir->type->name,
constructor_type->fields.structure[i].type->name);
- return ir_rvalue::error_value(ctx);;
+ return ir_rvalue::error_value(ctx);
}
node = node->next;
diff --git a/src/compiler/glsl/ir_rvalue_visitor.cpp b/src/compiler/glsl/ir_rvalue_visitor.cpp
index 6ab6cf02176..addcc683df0 100644
--- a/src/compiler/glsl/ir_rvalue_visitor.cpp
+++ b/src/compiler/glsl/ir_rvalue_visitor.cpp
@@ -146,7 +146,7 @@ ir_rvalue_base_visitor::rvalue_visit(ir_discard *ir)
ir_visitor_status
ir_rvalue_base_visitor::rvalue_visit(ir_return *ir)
{
- handle_rvalue(&ir->value);;
+ handle_rvalue(&ir->value);
return visit_continue;
}