diff --git a/runtime/starpu/codelets/codelet_zlacpy.c b/runtime/starpu/codelets/codelet_zlacpy.c
index 2d227b37b7167fa28f687652cdcc4b5e734b3299..aa8d73ed3774d60b34f1b9d6641c984db59fe820 100644
--- a/runtime/starpu/codelets/codelet_zlacpy.c
+++ b/runtime/starpu/codelets/codelet_zlacpy.c
@@ -151,7 +151,7 @@ void INSERT_TASK_zlacpyx( const RUNTIME_option_t *options,
     if ( (uplo == ChamUpperLower) &&
          (tileA->m == m) && (tileA->n == n) &&
          (tileB->m == m) && (tileB->n == n) &&
-         (displA == 0) && (displB == 0) && 0 )
+         (displA == 0) && (displB == 0) )
     {
 #if defined(CHAMELEON_USE_MPI)
         insert_task_zlacpy_on_remote_node( options,
@@ -227,7 +227,7 @@ void INSERT_TASK_zlacpy( const RUNTIME_option_t *options,
     /* Insert the task */
     if ( (uplo == ChamUpperLower) &&
          (tileA->m == m) && (tileA->n == n) &&
-         (tileB->m == m) && (tileB->n == n) && 0 )
+         (tileB->m == m) && (tileB->n == n) )
     {
 #if defined(CHAMELEON_USE_MPI)
         insert_task_zlacpy_on_remote_node( options,