Eo: Silence warning about no side-effect in _eo_add_common

Added a cast to void to silence the warning about no side-effect on
GCC.
This commit is contained in:
Felipe Magno de Almeida 2016-04-17 14:53:23 -03:00
parent f012499f47
commit 75c741ff2b
1 changed files with 1 additions and 1 deletions

View File

@ -627,7 +627,7 @@ EAPI Eo *_eo_self_get(void);
# define _eo_add_common(klass, parent, is_ref, ...) \
({ \
Eo * const __eo_self = _eo_add_internal_start(__FILE__, __LINE__, klass, parent, is_ref, EINA_FALSE); \
(void) (0, ##__VA_ARGS__); \
(void) ((void)0, ##__VA_ARGS__); \
(Eo *) _eo_add_end(eo_self, EINA_FALSE); \
})