ggerganov / llama.cpp

LLM inference in C/C++
MIT License
65.59k stars 9.41k forks source link

clip : suppress unused variable warnings #8105

Closed danbev closed 3 months ago

danbev commented 3 months ago

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.