浏览代码

src/common/starpu_spinlock.c: mark argument as potentially unused

Nathalie Furmento 14 年之前
父节点
当前提交
79793ccf75
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/common/starpu_spinlock.c

+ 1 - 1
src/common/starpu_spinlock.c

@@ -44,7 +44,7 @@ int _starpu_spin_init(starpu_spinlock_t *lock)
 #endif
 }
 
-int _starpu_spin_destroy(starpu_spinlock_t *lock)
+int _starpu_spin_destroy(starpu_spinlock_t *lock STARPU_ATTRIBUTE_UNUSED)
 {
 #ifdef STARPU_SPINLOCK_CHECK
 	pthread_mutexattr_destroy(&lock->errcheck_attr);