Skip to content

Commit ea59da8

Browse files
danbeviThalay
authored andcommitted
ggml : remove unnecessary UNUSED macro call (ggml/880)
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 <daniel.bevenius@gmail.com>
1 parent bb5f534 commit ea59da8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ggml/src/ggml.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17955,7 +17955,6 @@ static void ggml_build_forward_impl(struct ggml_cgraph * cgraph, struct ggml_ten
1795517955
}
1795617956

1795717957
const int n0 = cgraph->n_nodes;
17958-
UNUSED(n0);
1795917958

1796017959
ggml_visit_parents(cgraph, tensor);
1796117960

0 commit comments

Comments
 (0)