Browse Source

src/datawizard/coherency.c: fix code when fxt is disabled

Nathalie Furmento 8 years ago
parent
commit
41aa87e4b2
1 changed files with 2 additions and 4 deletions
  1. 2 4
      src/datawizard/coherency.c

+ 2 - 4
src/datawizard/coherency.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures. *
  * Copyright (C) 2009-2017  Université de Bordeaux
- * Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015, 2016  CNRS
+ * Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017  CNRS
  * Copyright (C) 2014  INRIA
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -981,11 +981,9 @@ int _starpu_fetch_task_input(struct starpu_task *task, struct _starpu_job *j, in
 
 	unsigned local_memory_node = _starpu_memory_node_get_local_key();
 
-#ifdef STARPU_USE_FXT
 	unsigned long total_size = 0;
-#endif
-
 	unsigned index;
+
 	nacquires = 0;
 	for (index = 0; index < nbuffers; index++)
 	{