Skip to content
Snippets Groups Projects
Commit 6b8c3695 authored by Marc Hoersken's avatar Marc Hoersken
Browse files

if2ip.c: Fixed another warning: unused parameter 'remote_scope'

parent 762961fe
No related branches found
No related tags found
No related merge requests found
......@@ -89,6 +89,10 @@ if2ip_result_t Curl_if2ip(int af, unsigned int remote_scope,
struct ifaddrs *iface, *head;
if2ip_result_t res = IF2IP_NOT_FOUND;
#ifndef ENABLE_IPV6
(void) remote_scope;
#endif
if(getifaddrs(&head) >= 0) {
for(iface=head; iface != NULL; iface=iface->ifa_next) {
if(iface->ifa_addr != NULL) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment