# HG changeset patch # User Mario de Sousa # Date 1335435139 -3600 # Node ID 5993247a1c91aa84cfcb304682ab9a184f4ecf31 # Parent 563b013ec67069a4dd6ff6b723f2f587cec2b6dc Delete unecessary variable. diff -r 563b013ec670 -r 5993247a1c91 absyntax_utils/search_varfb_instance_type.cc --- a/absyntax_utils/search_varfb_instance_type.cc Wed Apr 25 16:56:25 2012 +0100 +++ b/absyntax_utils/search_varfb_instance_type.cc Thu Apr 26 11:12:19 2012 +0100 @@ -93,7 +93,6 @@ this->current_basetype_id = NULL; this->current_basetype_decl = NULL; this->current_field_selector = NULL; - this->is_complex = false; } @@ -298,8 +297,6 @@ * then this class must be called with the identifier_c 'X'. */ void *search_varfb_instance_type_c::visit(array_variable_c *symbol) { - this->is_complex = true; - /* determine the data type of the subscripted_variable... * This should be an array_specification_c * ARRAY [xx..yy] OF Stored_Data_Type @@ -323,7 +320,6 @@ */ // SYM_REF2(structured_variable_c, record_variable, field_selector) void *search_varfb_instance_type_c::visit(structured_variable_c *symbol) { - this->is_complex = true; symbol->record_variable->accept(*this); /* Now we search for the data type of the field... But only if we were able to determine the data type of the variable */ diff -r 563b013ec670 -r 5993247a1c91 absyntax_utils/search_varfb_instance_type.hh --- a/absyntax_utils/search_varfb_instance_type.hh Wed Apr 25 16:56:25 2012 +0100 +++ b/absyntax_utils/search_varfb_instance_type.hh Thu Apr 26 11:12:19 2012 +0100 @@ -98,8 +98,6 @@ symbol_c *current_field_selector; - bool is_complex; - /* sets all the above variables to NULL, or false */ void init(void);