瀏覽代碼

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

Nathalie Furmento 12 年之前
父節點
當前提交
85b77718ec
共有 1 個文件被更改,包括 1 次插入1 次删除
  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