From d1d81c4f86737211952e58a9e468f4160fe6f92d Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Tue, 1 May 2012 08:07:04 +0000 Subject: [PATCH] Eobj: Fix issue with the typecheck macro. It should not use the passed variable more than once. SVN revision: 70568 --- legacy/eobj/lib/Eo.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/legacy/eobj/lib/Eo.h b/legacy/eobj/lib/Eo.h index 4ec155bf5b..5d05228fea 100644 --- a/legacy/eobj/lib/Eo.h +++ b/legacy/eobj/lib/Eo.h @@ -61,8 +61,7 @@ EAPI extern Eina_Lock _eo_class_creation_lock; ({ \ type __x; \ __x = x; \ - (void) __x; \ - (type) x; \ + (type) __x; \ }) /**