]> granicus.if.org Git - curl/commit
udpateconninfo: mark variable unused
authorDaniel Gustafsson <daniel@yesql.se>
Tue, 21 May 2019 07:42:22 +0000 (09:42 +0200)
committerDaniel Gustafsson <daniel@yesql.se>
Tue, 21 May 2019 07:42:22 +0000 (09:42 +0200)
commit528b284e4b145ff38c5ab87b4d6daa5d796fd938
tree41ac0e335dbe12f4f41f5d42f9f177c748133d2a
parent8986d3c6f4f72cb4734f24ef297d31865e3018cc
udpateconninfo: mark variable unused

When compiling without getpeername() or getsockname(), the sockfd
paramter to Curl_udpateconninfo() became unused after commit e91e481612
added ifdef guards.

Closes #3910
Fixes https://curl.haxx.se/dev/log.cgi?id=20190520172441-32196
Reviewed-by: Marcel Raad, Daniel Stenberg
lib/connect.c