danbev commited on
Commit
ab9a7d0
·
1 Parent(s): a8f9bda

ggml : remove unnecessary UNUSED macro call (ggml/880)

Browse files

This commit removes an UNUSED macro call that is not needed as the
variable n0 is used in the code and will not produce a warning.

Signed-off-by: Daniel Bevenius <[email protected]>

Files changed (1) hide show
  1. ggml/src/ggml.c +0 -1
ggml/src/ggml.c CHANGED
@@ -17955,7 +17955,6 @@ static void ggml_build_forward_impl(struct ggml_cgraph * cgraph, struct ggml_ten
17955
  }
17956
 
17957
  const int n0 = cgraph->n_nodes;
17958
- UNUSED(n0);
17959
 
17960
  ggml_visit_parents(cgraph, tensor);
17961
 
 
17955
  }
17956
 
17957
  const int n0 = cgraph->n_nodes;
 
17958
 
17959
  ggml_visit_parents(cgraph, tensor);
17960