0a66c8
From 6e45acbf3d64b9bd945adcb3de622fd7d059ceb9 Mon Sep 17 00:00:00 2001
0a66c8
From: Pavel Zhukov <pzhukov@redhat.com>
0a66c8
Date: Fri, 6 Apr 2018 15:04:02 +0200
0a66c8
Subject: [PATCH] Drop unused variable
0a66c8
0a66c8
Compillation with Werror=all is now successfull.
0a66c8
---
0a66c8
 gram.y | 1 -
0a66c8
 1 file changed, 1 deletion(-)
0a66c8
0a66c8
diff --git a/gram.y b/gram.y
0a66c8
index cc0dd4b..5db3bde 100644
0a66c8
--- a/gram.y
0a66c8
+++ b/gram.y
0a66c8
@@ -408,7 +408,6 @@ v6addrlist_rasrcaddress	: IPV6ADDR ';'
0a66c8
 prefixdef	: prefixhead optional_prefixplist ';'
0a66c8
 		{
0a66c8
 			if (prefix) {
0a66c8
-				unsigned int dst;
0a66c8
 
0a66c8
 				if (prefix->AdvPreferredLifetime > prefix->AdvValidLifetime)
0a66c8
 				{
0a66c8
diff --git a/send.c b/send.c
0a66c8
index 8bc16a8..62e3e68 100644
0a66c8
--- a/send.c
0a66c8
+++ b/send.c
0a66c8
@@ -797,7 +797,7 @@ static int send_ra(int sock, struct Interface *iface, struct in6_addr const *des
0a66c8
 		}
0a66c8
 
0a66c8
 		// RA built, now send it.
0a66c8
-		dlog(LOG_DEBUG, 5, "sending RA to %s on %s (%s), %lu options (using %lu/%u bytes)", dest_text, iface->props.name,
0a66c8
+		dlog(LOG_DEBUG, 5, "sending RA to %s on %s (%s), %lu options (using %zd/%u bytes)", dest_text, iface->props.name,
0a66c8
 		     src_text, option_count, sb->used, iface->props.max_ra_option_size);
0a66c8
 		int err = really_send(sock, dest, &iface->props, sb);
0a66c8
 		if (err < 0) {