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:
d7e0763
)
e_comp_wl_video: Remove superfluous assignment
92/258592/1
author
Seunghun Lee
<shiin.lee@samsung.com>
Wed, 12 May 2021 04:56:13 +0000
(13:56 +0900)
committer
Seunghun Lee
<shiin.lee@samsung.com>
Thu, 20 May 2021 04:20:26 +0000
(13:20 +0900)
No need to assign initial value because it checks return value as an
error indicator before using outcome arguments.
Change-Id: I456143346cbc1e1cd7840b5619376635b5168830
src/bin/video/e_comp_wl_video.c
patch
|
blob
|
history
diff --git
a/src/bin/video/e_comp_wl_video.c
b/src/bin/video/e_comp_wl_video.c
index 7f8e7b899001f125f8b402c9a360a3a034660ff7..a82752202012c72969d1279b0c87d7ee9edd1a3a 100644
(file)
--- a/
src/bin/video/e_comp_wl_video.c
+++ b/
src/bin/video/e_comp_wl_video.c
@@
-91,8
+91,8
@@
_e_comp_wl_video_object_create(struct wl_resource *resource, struct wl_resource
static void
_e_comp_wl_video_object_available_size_send(E_Video_Object *vo)
{
- int minw
= -1, minh = -1, maxw = -1, maxh = -1
;
- int align
= -1
;
+ int minw
, minh, maxw, maxh
;
+ int align;
Eina_Bool res;
EINA_SAFETY_ON_NULL_RETURN(vo->ec->zone);