]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
clip : suppress unused variable warnings (#8105)
authorDaniel Bevenius <redacted>
Wed, 26 Jun 2024 23:50:09 +0000 (01:50 +0200)
committerGitHub <redacted>
Wed, 26 Jun 2024 23:50:09 +0000 (01:50 +0200)
commit9b31a40c6ddabe552875b811d7127aa039ca9703
tree2bd184a357349ab58b97616595799f614e5f3606
parentc70d117c37cc7876e775d1e2722208a50c52edb3
clip : suppress unused variable warnings (#8105)

* clip : suppress unused variable warnings

This commit suppresses unused variable warnings for the variables e in
the catch blocks.

The motivation for this change is to suppress the warnings that are
generated on Windows when using the MSVC compiler. The warnings are
not displayed when using GCC because GCC will mark all catch parameters
as used.

Signed-off-by: Daniel Bevenius <redacted>
* squash! clip : suppress unused variable warnings

Remove e (/*e*/) instead instead of using GGML_UNUSED.

---------

Signed-off-by: Daniel Bevenius <redacted>
examples/llava/clip.cpp