diff options
author | Daniel Gustafsson <daniel@yesql.se> | 2019-11-28 16:02:13 +0100 |
---|---|---|
committer | Daniel Gustafsson <daniel@yesql.se> | 2019-11-28 16:02:13 +0100 |
commit | 66e21520f369ab92b49a515704b68fa842face85 (patch) | |
tree | 94638c50b65153f5a2d1be0b02fac8b2f17ce7aa /lib/cookie.c | |
parent | bb8cf0516953eea24cdedee47d31db77e8ced0dc (diff) | |
download | curl-66e21520f369ab92b49a515704b68fa842face85.tar.gz |
curl_setup_once: consistently use WHILE_FALSE in macros
The WHILE_FALSE construction is used to avoid compiler warnings in
macro constructions. This fixes a few instances where it was not
used in order to keep the code consistent.
Closes #4649
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
Diffstat (limited to 'lib/cookie.c')
-rw-r--r-- | lib/cookie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cookie.c b/lib/cookie.c index f56bd85a9..7e68b0785 100644 --- a/lib/cookie.c +++ b/lib/cookie.c @@ -1226,7 +1226,7 @@ static int cookie_sort_ct(const void *p1, const void *p2) if(!d->field) \ goto fail; \ } \ - } while(0) + } WHILE_FALSE static struct Cookie *dup_cookie(struct Cookie *src) { |