Delete unecessary variable.
authorMario de Sousa <msousa@fe.up.pt>
Thu, 26 Apr 2012 11:12:19 +0100
changeset 540 5993247a1c91
parent 536 563b013ec670
child 541 f6208d457722
Delete unecessary variable.
absyntax_utils/search_varfb_instance_type.cc
absyntax_utils/search_varfb_instance_type.hh
--- 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 */
--- 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);