efl_ui_selection_manager: Fix unchecked return value
authorChristopher Michael <cp.michael@samsung.com>
Tue, 12 Mar 2019 14:11:21 +0000 (10:11 -0400)
committerYeongjong Lee <yj34.lee@samsung.com>
Tue, 2 Apr 2019 03:45:17 +0000 (12:45 +0900)
commit33319173416d865321be4763d2a16db5b20fe1a8
tree360fa578fb487b1013d32c18eb23d66957defa50
parentf364fb0367d7498e2372b3f9de8f5ff3cc397fd7
efl_ui_selection_manager: Fix unchecked return value

This patch fixes an issue where the return value from ecore_x_init is
not checked. If we fail to initialize ecore_x, then we should print
out an error and get out.

Fixes Coverity CID1399092

@fix

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8312
src/lib/elementary/efl_ui_selection_manager.c