projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
762961f
)
if2ip.c: Fixed another warning: unused parameter 'remote_scope'
author
Marc Hoersken
<info@marc-hoersken.de>
Sun, 7 Apr 2013 19:04:39 +0000
(21:04 +0200)
committer
Marc Hoersken
<info@marc-hoersken.de>
Sun, 7 Apr 2013 19:04:50 +0000
(21:04 +0200)
lib/if2ip.c
patch
|
blob
|
history
diff --git
a/lib/if2ip.c
b/lib/if2ip.c
index 43584c75cd82a44b1c9683a53ecf1f718fde1ad3..a2bad871af5e11540eeef17bb9ce4ee776b1465f 100644
(file)
--- a/
lib/if2ip.c
+++ b/
lib/if2ip.c
@@
-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) {