From: Daniel Bevenius Date: Mon, 8 Jul 2024 10:03:42 +0000 (+0200) Subject: ggml : remove unnecessary UNUSED macro call (#880) X-Git-Tag: upstream/0.0.1642~538 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=ddfb1b55ee8349e4d7672431b7d621ae0b040d0a;p=pkg%2Fggml%2Fsources%2Fggml ggml : remove unnecessary UNUSED macro call (#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/src/ggml.c b/src/ggml.c index bc91ac3a..ae7bee5e 100644 --- a/src/ggml.c +++ b/src/ggml.c @@ -17955,7 +17955,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);