about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--035call_ingredient.cc1
-rw-r--r--038scheduler.cc1
2 files changed, 0 insertions, 2 deletions
diff --git a/035call_ingredient.cc b/035call_ingredient.cc
index 2f28c8f7..89d6507d 100644
--- a/035call_ingredient.cc
+++ b/035call_ingredient.cc
@@ -33,7 +33,6 @@ for (long long int i = 0; i < SIZE(ingredients); ++i) {
   reagent ingredient = call_instruction.ingredients.at(i);
   canonize_type(ingredient);
   current_call().ingredients.push_back(ingredient);
-  ingredient.type = NULL;  // release long-lived pointer
 }
 
 :(before "End Primitive Recipe Declarations")
diff --git a/038scheduler.cc b/038scheduler.cc
index cee4f8f8..7d8127a1 100644
--- a/038scheduler.cc
+++ b/038scheduler.cc
@@ -166,7 +166,6 @@ case START_RUNNING: {
     reagent ingredient = current_instruction().ingredients.at(i);
     canonize_type(ingredient);
     new_routine->calls.front().ingredients.push_back(ingredient);
-    ingredient.type = NULL;  // release long-lived pointer
   }
   Routines.push_back(new_routine);
   products.resize(1);