summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2017-03-23 18:48:01 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2017-03-23 18:48:01 +0200
commit86c9e64b185a5b4092a8404aea8a9210fda271aa (patch)
treeae6557e8897613fadf1f563d6c5250dedda35675
parent6e1a268c87b1140ded9eaac67bf49d85d7dab2ec (diff)
downloadmailutils-86c9e64b185a5b4092a8404aea8a9210fda271aa.tar.gz
mailutils-86c9e64b185a5b4092a8404aea8a9210fda271aa.tar.bz2
Tiny fix
* include/mailutils/debug.h (MU_ASSERT): Prefix local variable name with two underscores to diminish the probability of shadowing.
-rw-r--r--include/mailutils/debug.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mailutils/debug.h b/include/mailutils/debug.h
index a0dbdaef0..647a0582c 100644
--- a/include/mailutils/debug.h
+++ b/include/mailutils/debug.h
@@ -87,11 +87,11 @@ int mu_debug_get_iterator (mu_iterator_t *piterator, int skipunset);
#define MU_ASSERT(expr) \
do \
{ \
- int rc = expr; \
- if (rc) \
+ int __rc = expr; \
+ if (__rc) \
{ \
mu_error ("%s:%d: " #expr " failed: %s", \
- __FILE__, __LINE__, mu_strerror (rc)); \
+ __FILE__, __LINE__, mu_strerror (__rc)); \
abort (); \
} \
} \

Return to:

Send suggestions and report system problems to the System administrator.