diff options
author | Yang Tse <yangsita@gmail.com> | 2011-09-03 16:06:10 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-09-03 16:07:09 +0200 |
commit | 6b75d2c2df7209919a70a29a4479625b62fb3c28 (patch) | |
tree | a5b2bd4195db4cb69f3299814e910bd04ebb6eac /lib/ldap.c | |
parent | 2be65bb0c5317b6821882b41558bd8cd2eb64d25 (diff) |
fix a bunch of MSVC compiler warnings
Diffstat (limited to 'lib/ldap.c')
-rw-r--r-- | lib/ldap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ldap.c b/lib/ldap.c index 0fcbc22e0..11b9beeb7 100644 --- a/lib/ldap.c +++ b/lib/ldap.c @@ -105,11 +105,11 @@ static void _ldap_free_urldesc (LDAPURLDesc *ludp); #define LDAP_TRACE(x) do { \ _ldap_trace ("%u: ", __LINE__); \ _ldap_trace x; \ - } while(0) + } WHILE_FALSE static void _ldap_trace (const char *fmt, ...); #else - #define LDAP_TRACE(x) ((void)0) + #define LDAP_TRACE(x) Curl_nop_stmt #endif |