diff options
author | Marcel Raad <Marcel.Raad@teamviewer.com> | 2017-05-11 09:59:56 +0200 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2017-05-11 10:04:01 +0200 |
commit | 77b90997dd228b071603c9ade96a16610a6df222 (patch) | |
tree | 106de0d4addd7cbf00cec5770e921e8f6e8d688f /docs/examples | |
parent | b875250e32048070401f5a3a23cdd9f47b15e114 (diff) |
cookie_interface: fix -Wcomma warning
clang 5.0 complains:
possible misuse of comma operator here [-Wcomma]
Diffstat (limited to 'docs/examples')
-rw-r--r-- | docs/examples/cookie_interface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/examples/cookie_interface.c b/docs/examples/cookie_interface.c index 53840a2de..2af0619b5 100644 --- a/docs/examples/cookie_interface.c +++ b/docs/examples/cookie_interface.c @@ -47,7 +47,8 @@ print_cookies(CURL *curl) curl_easy_strerror(res)); exit(1); } - nc = cookies, i = 1; + nc = cookies; + i = 1; while(nc) { printf("[%d]: %s\n", i, nc->data); nc = nc->next; |