From: Jihoon Kim Date: Mon, 12 May 2025 10:40:53 +0000 (+0900) Subject: e_test_event: fix dead code issue X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen;p=platform%2Fcore%2Fuifw%2Fe-tizen-testcase.git e_test_event: fix dead code issue The indicated dead code may have performed some action; that action will never occur. In etRunner::​getWinNotiLevel(etWin *): Code can never be reached because of a logical contradiction (CWE-561) Change-Id: I0ff65b35880bdb797a998a803dfe977394bf2df3 Signed-off-by: Jihoon Kim --- diff --git a/src/e_test_event.cpp b/src/e_test_event.cpp index 9722c1c..dd7c787 100644 --- a/src/e_test_event.cpp +++ b/src/e_test_event.cpp @@ -685,7 +685,6 @@ etRunner::getWinNotiLevel(etWin *tw) EINA_SAFETY_ON_NULL_RETURN_VAL(tw, EFL_UTIL_NOTIFICATION_LEVEL_NONE); res = efl_util_get_notification_window_level(tw->elm_win, &lv); - EINA_SAFETY_ON_FALSE_RETURN_VAL(res == EFL_UTIL_ERROR_NONE, EFL_UTIL_NOTIFICATION_LEVEL_NONE); if (res != EFL_UTIL_ERROR_NONE) { printf("etRunner::getWinNotiLevel: efl_util_get_notification_window_level(%p): return lv:%d, res: %d\n", tw->elm_win, lv, res);