Browse Source

Minor warning fix

Cédric Augonnet 15 years ago
parent
commit
9fa8764484
1 changed files with 2 additions and 0 deletions
  1. 2 0
      mpi/starpu_mpi.c

+ 2 - 0
mpi/starpu_mpi.c

@@ -459,6 +459,7 @@ static void submit_mpi_req(void *arg)
  *	Scheduler hook
  */
 
+#ifdef USE_STARPU_ACTIVITY
 static unsigned progression_hook_func(void *arg __attribute__((unused)))
 {
 	unsigned may_block = 1;
@@ -473,6 +474,7 @@ static unsigned progression_hook_func(void *arg __attribute__((unused)))
 
 	return may_block;
 }
+#endif
 
 /*
  *	Progression loop