summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-04-17 14:53:23 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-04-17 14:53:23 -0300
commit75c741ff2b14fb433f8ee16d7acd82a3b38c2a92 (patch)
treecf63b969ad1b46d9879b8d213368cae448c297f0
parentf012499f479a8f01d89d4fa712304f93407dbf99 (diff)
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.
-rw-r--r--src/lib/eo/Eo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h
index 194665013a..456410076f 100644
--- a/src/lib/eo/Eo.h
+++ b/src/lib/eo/Eo.h
@@ -627,7 +627,7 @@ EAPI Eo *_eo_self_get(void);
627# define _eo_add_common(klass, parent, is_ref, ...) \ 627# define _eo_add_common(klass, parent, is_ref, ...) \
628 ({ \ 628 ({ \
629 Eo * const __eo_self = _eo_add_internal_start(__FILE__, __LINE__, klass, parent, is_ref, EINA_FALSE); \ 629 Eo * const __eo_self = _eo_add_internal_start(__FILE__, __LINE__, klass, parent, is_ref, EINA_FALSE); \
630 (void) (0, ##__VA_ARGS__); \ 630 (void) ((void)0, ##__VA_ARGS__); \
631 (Eo *) _eo_add_end(eo_self, EINA_FALSE); \ 631 (Eo *) _eo_add_end(eo_self, EINA_FALSE); \
632 }) 632 })
633 633