Browse Source

fix warning

Samuel Thibault 7 years ago
parent
commit
4bca05bb20
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/perfmodel/perfmodel.c

+ 1 - 1
src/core/perfmodel/perfmodel.c

@@ -558,7 +558,7 @@ void starpu_perfmodel_free_sampling_directories(void)
 }
 
 
-static double nop_cost_function(struct starpu_task *t, struct starpu_perfmodel_arch *a, unsigned i)
+static double nop_cost_function(struct starpu_task *t STARPU_ATTRIBUTE_UNUSED, struct starpu_perfmodel_arch *a, unsigned i STARPU_ATTRIBUTE_UNUSED)
 {
 	return 0.000001;
 }