projects
/
platform
/
core
/
uifw
/
libtdm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83e01cf
)
output: don't touch return params when failed
92/170992/1
author
Boram Park
<boram1288.park@samsung.com>
Fri, 23 Feb 2018 01:50:40 +0000
(10:50 +0900)
committer
Boram Park
<boram1288.park@samsung.com>
Sun, 25 Feb 2018 23:00:44 +0000
(08:00 +0900)
Change-Id: Iba17eb76a47078f3bd37e338318bbcc8354a69d6
src/tdm_output.c
patch
|
blob
|
history
diff --git
a/src/tdm_output.c
b/src/tdm_output.c
index 53ea938eebb877faef8b5361a26fbceeb631df9e..ae4e3590126c979e6493c29598211a92ea5308f7 100644
(file)
--- a/
src/tdm_output.c
+++ b/
src/tdm_output.c
@@
-537,20
+537,7
@@
tdm_output_get_cursor_available_size(tdm_output *output, int *min_w, int *min_h,
_pthread_mutex_lock(&private_display->lock);
if (!tdm_backend_check_module_abi(private_output->private_backend, 1, 5)) {
-
- if (min_w)
- *min_w = -1;
- if (min_h)
- *min_h = -1;
- if (max_w)
- *max_w = -1;
- if (max_h)
- *max_h = -1;
- if (preferred_align)
- *preferred_align = -1;
-
_pthread_mutex_unlock(&private_display->lock);
-
return TDM_ERROR_BAD_REQUEST;
}