# HG changeset patch
# User mjsousa
# Date 1375687590 -3600
# Node ID 6658fc03926419e412fd09bf89d6db6c6286ec88
# Parent  3fa9fb3b32b5aedf52b04e5d08ccb7172279c104
Code cleanup: Remove unused option = Delete dead code.

diff -r 3fa9fb3b32b5 -r 6658fc039264 absyntax_utils/decompose_var_instance_name.cc
--- a/absyntax_utils/decompose_var_instance_name.cc	Tue Aug 20 17:35:11 2013 +0100
+++ b/absyntax_utils/decompose_var_instance_name.cc	Mon Aug 05 08:26:30 2013 +0100
@@ -54,19 +54,18 @@
   previously_returned_variable_name = NULL;
 }
 
-symbol_c *decompose_var_instance_name_c::next_part(bool increment) {
+symbol_c *decompose_var_instance_name_c::next_part() {
   /* We must always start from the top!
    * See note in the structured_variable_c visitor
    * to understand why...
    */
   symbol_c *res = (symbol_c *)variable_name->accept(*this);
-  if (increment)
-    next_variable_name = current_recursive_variable_name;
+  next_variable_name = current_recursive_variable_name;
 
   if (previously_returned_variable_name == res)
-	  return NULL;
-  if (increment)
-    previously_returned_variable_name = res;
+    return NULL;
+  
+  previously_returned_variable_name = res;
   return res;
 }
 
diff -r 3fa9fb3b32b5 -r 6658fc039264 absyntax_utils/decompose_var_instance_name.hh
--- a/absyntax_utils/decompose_var_instance_name.hh	Tue Aug 20 17:35:11 2013 +0100
+++ b/absyntax_utils/decompose_var_instance_name.hh	Mon Aug 05 08:26:30 2013 +0100
@@ -78,7 +78,7 @@
   public:
     decompose_var_instance_name_c(symbol_c *variable_instance_name);
 
-    symbol_c *next_part(bool increment = true);
+    symbol_c *next_part(void);
 
   private:
   /*************************/