]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
ggml : remove unnecessary UNUSED macro call (ggml/880)
authorDaniel Bevenius <redacted>
Mon, 8 Jul 2024 10:03:42 +0000 (12:03 +0200)
committerGeorgi Gerganov <redacted>
Sat, 27 Jul 2024 14:43:44 +0000 (17:43 +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>
ggml/src/ggml.c

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