diff options
author | Yang Tse <yangsita@gmail.com> | 2011-09-04 17:23:39 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-09-04 17:23:39 +0200 |
commit | a831da792d627d9b351b9418dbc238cca7cd71fd (patch) | |
tree | 59c2af6f9e718716eb3fe5d7a3973ddad24363e9 /ares_init.c | |
parent | bab721cb1cad87e01b3c240821be47755bdc4bac (diff) | |
download | c-ares-a831da792d627d9b351b9418dbc238cca7cd71fd.tar.gz c-ares-a831da792d627d9b351b9418dbc238cca7cd71fd.tar.bz2 c-ares-a831da792d627d9b351b9418dbc238cca7cd71fd.zip |
fix MSVC compiler warning 'conditional expression is constant'
Diffstat (limited to 'ares_init.c')
-rw-r--r-- | ares_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_init.c b/ares_init.c index 44d4cf9..dd59fed 100644 --- a/ares_init.c +++ b/ares_init.c @@ -1216,7 +1216,7 @@ static int init_by_defaults(ares_channel channel) goto error; } - } while(0); + } WHILE_FALSE; dot = strchr(hostname, '.'); if (dot) { |