summaryrefslogtreecommitdiff
path: root/legacy/eina/src/include/eina_safety_checks.h
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2009-12-09 08:20:37 +0000
committerVincent Torri <vincent.torri@gmail.com>2009-12-09 08:20:37 +0000
commitabe919050124c55ff32eaf816198a20321d5c1bb (patch)
tree8b37b000e380c42c576dc87064063874d4a5b791 /legacy/eina/src/include/eina_safety_checks.h
parent4866755a1c78107e7b92797dc3fca045302127fb (diff)
fix parenthesis order. Thanks, vc++ !! :p
SVN revision: 44316
Diffstat (limited to '')
-rw-r--r--legacy/eina/src/include/eina_safety_checks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/eina/src/include/eina_safety_checks.h b/legacy/eina/src/include/eina_safety_checks.h
index 1741678a38..f3c183d4f0 100644
--- a/legacy/eina/src/include/eina_safety_checks.h
+++ b/legacy/eina/src/include/eina_safety_checks.h
@@ -172,7 +172,7 @@ EAPI extern Eina_Error EINA_ERROR_SAFETY_FAILED;
172 do { if (0 && (exp)) (void)val; } while (0) 172 do { if (0 && (exp)) (void)val; } while (0)
173 173
174#define EINA_SAFETY_ON_FALSE_RETURN(exp) \ 174#define EINA_SAFETY_ON_FALSE_RETURN(exp) \
175 do { (void)((!exp)); } while (0) 175 do { (void)(!(exp)); } while (0)
176 176
177#define EINA_SAFETY_ON_FALSE_RETURN_VAL(exp, val) \ 177#define EINA_SAFETY_ON_FALSE_RETURN_VAL(exp, val) \
178 do { if (0 && !(exp)) (void)val; } while (0) 178 do { if (0 && !(exp)) (void)val; } while (0)