projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3f1984
)
ecore: Fix warning about err_no
author
Jean-Philippe Andre
<jp.andre@samsung.com>
Fri, 8 Jul 2016 03:24:42 +0000
(12:24 +0900)
committer
Jean-Philippe Andre
<jp.andre@samsung.com>
Fri, 8 Jul 2016 03:27:29 +0000
(12:27 +0900)
Double warning, yay:
explicitly assigning value of variable of type 'int' to itself
variable 'err_no' is uninitialized when used here
See
1abbfdd1f7b09ba9931657d57ffc4172c662c2eb
src/lib/ecore/ecore_main.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore/ecore_main.c
b/src/lib/ecore/ecore_main.c
index
568cc3c
..
999b3f8
100644
(file)
--- a/
src/lib/ecore/ecore_main.c
+++ b/
src/lib/ecore/ecore_main.c
@@
-1766,7
+1766,7
@@
_ecore_main_select(double timeout)
eina_evlog("!SLEEP", NULL, 0.0, t ? "timeout" : "forever");
ret = main_loop_select(max_fd + 1, &rfds, &wfds, &exfds, t);
- err_no = err
_
no;
+ err_no = errno;
eina_evlog("!WAKE", NULL, 0.0, NULL);
_ecore_time_loop_time = ecore_time_get();