projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b17f37
)
e_compositor: Reduce log printed by null
46/315646/2
author
Seunghun Lee
<shiin@samsung.com>
Tue, 3 Dec 2024 05:59:19 +0000
(14:59 +0900)
committer
Seunghun Lee
<shiin.lee@samsung.com>
Wed, 4 Dec 2024 04:33:03 +0000
(
04:33
+0000)
The e_surface_try_from_ec() can return null normally, therefore it
shouldn't make noise when it returns null.
Change-Id: I3c55d909124dc0fc26d56810dafb64c2a8734555
src/bin/server/e_compositor.c
patch
|
blob
|
history
diff --git
a/src/bin/server/e_compositor.c
b/src/bin/server/e_compositor.c
index a2cd81e8b7b96f52f55670e3c7855239684ea585..cf6b70045475b86dbd95ff89172da3bf513d2f6f 100644
(file)
--- a/
src/bin/server/e_compositor.c
+++ b/
src/bin/server/e_compositor.c
@@
-299,7
+299,8
@@
e_surface_from_ec(E_Client *ec)
EINTERN E_Surface *
e_surface_try_from_ec(E_Client *ec)
{
- EINA_SAFETY_ON_NULL_RETURN_VAL(ec->comp_data, NULL);
+ if (!ec->comp_data)
+ return NULL;
return e_surface_from_ec(ec);
}