diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-07-25 20:47:41 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-07-25 20:47:41 -0700 |
commit | 1a33d221c1a23c218d3457dfe2a4344c2a33f9a1 (patch) | |
tree | 1a1c36fc15a05b88564bed9215e59bcfe267aea9 /056shape_shifting_recipe.cc | |
parent | d671148d99e35b7643068d3ea59babaf7ce336e8 (diff) | |
download | mu-1a33d221c1a23c218d3457dfe2a4344c2a33f9a1.tar.gz |
4413
Never mind, let's drop unused/vestigial altogether. Use absence of names to signal unused arguments.
Diffstat (limited to '056shape_shifting_recipe.cc')
-rw-r--r-- | 056shape_shifting_recipe.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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) |