From 69bbc2e18724cababacea26a0be2ccbf018ebaf4 Mon Sep 17 00:00:00 2001 From: pit-ray Date: Fri, 3 May 2024 01:05:58 +0900 Subject: [PATCH] fix defeats of coverity --- include/fluent_tray.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/fluent_tray.hpp b/include/fluent_tray.hpp index a608c92..70f04c9 100644 --- a/include/fluent_tray.hpp +++ b/include/fluent_tray.hpp @@ -1422,7 +1422,10 @@ namespace fluent_tray if(!Shell_NotifyIconW(NIM_ADD, &icon_data_)) { return false ; } - hide_menu_window() ; + + if(!hide_menu_window()) { + return false ; + } return true ; }