about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--001help.cc2
-rw-r--r--030container.cc2
-rw-r--r--056shape_shifting_recipe.cc4
-rw-r--r--subx/001help.cc2
4 files changed, 5 insertions, 5 deletions
diff --git a/001help.cc b/001help.cc
index 56aaac96..280c3588 100644
--- a/001help.cc
+++ b/001help.cc
@@ -157,7 +157,7 @@ void initialize_signal_handlers() {
   sigaction(SIGABRT, &action, NULL);  // assert() failure or integer overflow on linux (with -ftrapv)
   sigaction(SIGILL,  &action, NULL);  // integer overflow on OS X (with -ftrapv)
 }
-void dump_and_exit(int sig, vestigial siginfo_t* dummy1, vestigial void* dummy2) {
+void dump_and_exit(int sig, vestigial siginfo_t*, vestigial void*) {
   switch (sig) {
     case SIGABRT:
       #ifndef __APPLE__
diff --git a/030container.cc b/030container.cc
index fe8aaeb5..257f5fe0 100644
--- a/030container.cc
+++ b/030container.cc
@@ -546,7 +546,7 @@ Transform.push_back(expand_type_abbreviations_in_containers);  // idempotent
 :(code)
 // extremely inefficient; we process all types over and over again, once for every single recipe
 // but it doesn't seem to cause any noticeable slowdown
-void expand_type_abbreviations_in_containers(vestigial const recipe_ordinal r) {
+void expand_type_abbreviations_in_containers(vestigial const recipe_ordinal) {
   for (map<type_ordinal, type_info>::iterator p = Type.begin();  p != Type.end();  ++p) {
     for (int i = 0;  i < SIZE(p->second.elements);  ++i)
       expand_type_abbreviations(p->second.elements.at(i).type);
diff --git a/056shape_shifting_recipe.cc b/056shape_shifting_recipe.cc
index 3a2c3a93..d7d0f0fb 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& inst, recipe_ordinal r) {
+int number_of_concrete_type_names(vestigial const instruction&, 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& inst, recipe_ordinal r) {
+int number_of_type_ingredients(vestigial const instruction&, recipe_ordinal r) {
   const recipe& caller = get(Recipe, r);
   int result = 0;
   for (int i = 0;  i < SIZE(caller.ingredients);  ++i)
diff --git a/subx/001help.cc b/subx/001help.cc
index b4d58de5..564c1211 100644
--- a/subx/001help.cc
+++ b/subx/001help.cc
@@ -158,7 +158,7 @@ void initialize_signal_handlers() {
   sigaction(SIGABRT, &action, NULL);  // assert() failure or integer overflow on linux (with -ftrapv)
   sigaction(SIGILL,  &action, NULL);  // integer overflow on OS X (with -ftrapv)
 }
-void dump_and_exit(int sig, vestigial siginfo_t* dummy1, vestigial void* dummy2) {
+void dump_and_exit(int sig, vestigial siginfo_t*, vestigial void*) {
   switch (sig) {
     case SIGABRT:
       #ifndef __APPLE__