unused variable in lib/getaddrinfo.c

Albert Chin rsync at lists.thewrittenword.com
Sat Feb 16 11:53:48 EST 2002


pfx is used only when INET6 is declared.

-- 
albert chin (china at thewrittenword.com)

-- snip snip
--- lib/getaddrinfo.c.orig	Fri Feb 15 18:52:42 2002
+++ lib/getaddrinfo.c	Fri Feb 15 18:52:50 2002
@@ -396,7 +396,9 @@
 	for (i = 0; afdl[i].a_af; i++) {
 		if (inet_pton(afdl[i].a_af, hostname, pton)) {
 			u_long v4a;
+#ifdef INET6
 			u_char pfx;
+#endif
 
 			switch (afdl[i].a_af) {
 			case AF_INET:




More information about the rsync mailing list