forked from enlightenment/efl
ecore_x: removing useless assignment variable.
Summary: Assigning to NULL has no effect in the function calling this. So changed it to void. Some compiler complain about this kind of construct. It is better to use the (void) construct for silencing unused parameter with different kind of configure option. Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com> Reviewers: cedric Differential Revision: https://phab.enlightenment.org/D3180 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
6bd863cf4f
commit
a3ff6aff61
|
@ -2120,7 +2120,7 @@ _ecore_x_event_handle_screensaver_notify(XEvent *xevent)
|
||||||
e->time = screensaver_event->time;
|
e->time = screensaver_event->time;
|
||||||
ecore_event_add(ECORE_X_EVENT_SCREENSAVER_NOTIFY, e, NULL, NULL);
|
ecore_event_add(ECORE_X_EVENT_SCREENSAVER_NOTIFY, e, NULL, NULL);
|
||||||
#else /* ifdef ECORE_XSS */
|
#else /* ifdef ECORE_XSS */
|
||||||
xevent = NULL;
|
(void) xevent;
|
||||||
#endif /* ifdef ECORE_XSS */
|
#endif /* ifdef ECORE_XSS */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue