Browse Source

Avoid warning

Samuel Thibault 4 years ago
parent
commit
e3ed1475b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/datawizard/memalloc.c

+ 1 - 1
src/datawizard/memalloc.c

@@ -965,7 +965,7 @@ out:
  * flag is set, the memory is freed regardless of coherency concerns (this
  * flag is set, the memory is freed regardless of coherency concerns (this
  * should only be used at the termination of StarPU for instance).
  * should only be used at the termination of StarPU for instance).
  */
  */
-static size_t free_potentially_in_use_mc(unsigned node, unsigned force, size_t reclaim, enum starpu_is_prefetch is_prefetch)
+static size_t free_potentially_in_use_mc(unsigned node, unsigned force, size_t reclaim, enum starpu_is_prefetch is_prefetch STARPU_ATTRIBUTE_UNUSED)
 {
 {
 	size_t freed = 0;
 	size_t freed = 0;