Tiny fix
* include/mailutils/debug.h (MU_ASSERT): Prefix local variable name with two underscores to diminish the probability of shadowing.
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -87,11 +87,11 @@ int mu_debug_get_iterator (mu_iterator_t *piterator, int skipunset); | ... | @@ -87,11 +87,11 @@ int mu_debug_get_iterator (mu_iterator_t *piterator, int skipunset); |
87 | #define MU_ASSERT(expr) \ | 87 | #define MU_ASSERT(expr) \ |
88 | do \ | 88 | do \ |
89 | { \ | 89 | { \ |
90 | int rc = expr; \ | 90 | int __rc = expr; \ |
91 | if (rc) \ | 91 | if (__rc) \ |
92 | { \ | 92 | { \ |
93 | mu_error ("%s:%d: " #expr " failed: %s", \ | 93 | mu_error ("%s:%d: " #expr " failed: %s", \ |
94 | __FILE__, __LINE__, mu_strerror (rc)); \ | 94 | __FILE__, __LINE__, mu_strerror (__rc)); \ |
95 | abort (); \ | 95 | abort (); \ |
96 | } \ | 96 | } \ |
97 | } \ | 97 | } \ | ... | ... |
-
Please register or sign in to post a comment