Selaa lähdekoodia

src/core/simgrid.c: mark parameter key as unused

Nathalie Furmento 12 vuotta sitten
vanhempi
commit
85b77718ec
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/core/simgrid.c

+ 1 - 1
src/core/simgrid.c

@@ -247,7 +247,7 @@ int _starpu_pthread_key_create(_starpu_pthread_key_t *key)
 	return 0;
 }
 
-int _starpu_pthread_key_delete(_starpu_pthread_key_t key)
+int _starpu_pthread_key_delete(_starpu_pthread_key_t key STARPU_ATTRIBUTE_UNUSED)
 {
 #ifdef STARPU_DEVEL
 #warning TODO: implement pthread_key_delete so simgridified starpu can be restarted at will