From: Daniel Bevenius Date: Mon, 8 Jul 2024 10:03:42 +0000 (+0200) Subject: ggml : remove unnecessary UNUSED macro call (ggml/880) X-Git-Tag: upstream/0.0.4488~1014 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=c12b6e8ee7d905e0f299caf311689189fb1b4ac5;p=pkg%2Fggml%2Fsources%2Fllama.cpp 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 --- diff --git a/ggml/src/ggml.c b/ggml/src/ggml.c index c196fd5b..a14d0d1d 100644 --- a/ggml/src/ggml.c +++ b/ggml/src/ggml.c @@ -18078,7 +18078,6 @@ static void ggml_build_forward_impl(struct ggml_cgraph * cgraph, struct ggml_ten } const int n0 = cgraph->n_nodes; - UNUSED(n0); ggml_visit_parents(cgraph, tensor);