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/1.7.4~585 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=95f2a191c088ab3f86f089885a9efd3aa9c5d263;p=pkg%2Fggml%2Fsources%2Fwhisper.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 bc91ac3a..ae7bee5e 100644 --- a/ggml/src/ggml.c +++ b/ggml/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);