From 1a33d221c1a23c218d3457dfe2a4344c2a33f9a1 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Wed, 25 Jul 2018 20:47:41 -0700 Subject: 4413 Never mind, let's drop unused/vestigial altogether. Use absence of names to signal unused arguments. --- 056shape_shifting_recipe.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '056shape_shifting_recipe.cc') diff --git a/056shape_shifting_recipe.cc b/056shape_shifting_recipe.cc index d7d0f0fb..cb1a40b9 100644 --- a/056shape_shifting_recipe.cc +++ b/056shape_shifting_recipe.cc @@ -201,7 +201,7 @@ bool contains_type_ingredient_name(const type_tree* type) { return contains_type_ingredient_name(type->left) || contains_type_ingredient_name(type->right); } -int number_of_concrete_type_names(vestigial const instruction&, recipe_ordinal r) { +int number_of_concrete_type_names(const instruction& /*unused*/, recipe_ordinal r) { const recipe& caller = get(Recipe, r); int result = 0; for (int i = 0; i < SIZE(caller.ingredients); ++i) @@ -219,7 +219,7 @@ int number_of_concrete_type_names(const type_tree* type) { + number_of_concrete_type_names(type->right); } -int number_of_type_ingredients(vestigial const instruction&, recipe_ordinal r) { +int number_of_type_ingredients(const instruction& /*unused*/, recipe_ordinal r) { const recipe& caller = get(Recipe, r); int result = 0; for (int i = 0; i < SIZE(caller.ingredients); ++i) -- cgit 1.4.1-2-gfad0