From: dyamy-lee Date: Wed, 22 Dec 2021 06:26:54 +0000 (+0900) Subject: shell : remove null check of top which can't be null X-Git-Tag: submit/tizen_6.5/20211223.015334~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=73b5439572943398e237fc29519a289a17842868;p=platform%2Fcore%2Fuifw%2Fheadless-server.git shell : remove null check of top which can't be null Change-Id: I2d00b106e57a74644b25d6eeb03c1110d2ff7f80 --- diff --git a/src/shell/shell.c b/src/shell/shell.c index 3b63f79..3016150 100644 --- a/src/shell/shell.c +++ b/src/shell/shell.c @@ -1089,7 +1089,7 @@ headless_shell_cb_idle(void *data) if (!top_visible && pepper_surface_get_buffer(surface)) top_visible = view; - if (top && focus && top_visible) + if (focus && top_visible) break; }