From 46d20e11e2fc513145f5c41f7eaeb4c81a7a4730 Mon Sep 17 00:00:00 2001 From: Tejaakshaykumar <147340353+Tejaakshaykumar@users.noreply.github.com> Date: Tue, 24 Sep 2024 07:31:49 +0530 Subject: [PATCH] Updated clip.cpp added return type in catch block --- examples/llava/clip.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/llava/clip.cpp b/examples/llava/clip.cpp index 41b81196d..1f3a4ce02 100644 --- a/examples/llava/clip.cpp +++ b/examples/llava/clip.cpp @@ -1285,6 +1285,7 @@ struct clip_ctx * clip_model_load(const char * fname, const int verbosity = 1) { } } catch (const std::exception& e) { LOG_TEE("Error while loading hyperparameters: %s\n", e.what()); + return false;      } try {