]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
ggml : remove unnecessary UNUSED macro call (#880)
authorDaniel Bevenius <redacted>
Mon, 8 Jul 2024 10:03:42 +0000 (12:03 +0200)
committerGitHub <redacted>
Mon, 8 Jul 2024 10:03:42 +0000 (13:03 +0300)
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 <redacted>
src/ggml.c

index bc91ac3a726abdf08ad2cb9a76aec298c7efb61e..ae7bee5e3e88a67c853b38089cb923fc42bc71f0 100644 (file)
@@ -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);