tests: ecore_con: make sure info is initialized
authorStefan Schmidt <stefan@osg.samsung.com>
Tue, 2 Aug 2016 07:31:10 +0000 (09:31 +0200)
committerStefan Schmidt <stefan@osg.samsung.com>
Tue, 2 Aug 2016 07:31:10 +0000 (09:31 +0200)
commitaad5b8b83e6542522b1a21972168fca1c2293c1d
tree4ff05127f33dca0dc3aba81a88c3afd2c12b42d9
parenta467bb30caabd2fb712a41e4fcfb57fdb8326096
tests: ecore_con: make sure info is initialized

One test does init info before passing it to _url_compl_cb while two others
are not. Also test if inof is NULL in callback here to avoid crashes.

tests/ecore_con/ecore_con_test_ecore_con_url.c:194:4: warning: 'info' may be used uninitialized in this function [-Wmaybe-uninitialized]
    ecore_event_handler_add(ECORE_CON_EVENT_URL_COMPLETE,
src/tests/ecore_con/ecore_con_test_ecore_con_url.c