changeset 2267:284aedc3f0cf draft

Remove used var
author Roy Marples <roy@marples.name>
date Fri, 31 Jan 2014 15:00:58 +0000
parents bb57c40e012d
children a149336d9977
files dhcp.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dhcp.c	Fri Jan 31 14:43:08 2014 +0000
+++ b/dhcp.c	Fri Jan 31 15:00:58 2014 +0000
@@ -2511,14 +2511,13 @@
 {
 	const struct interface *ifp;
 	const struct dhcp_state *state;
-	ssize_t bytes;
 	uint8_t buffer[sizeof(struct dhcp_message)];
 
 	ifp = arg;
 	state = D_CSTATE(ifp);
 	/* Just read what's in the UDP fd and discard it as we always read
 	 * from the raw fd */
-	bytes = read(state->udp_fd, buffer, sizeof(buffer));
+	read(state->udp_fd, buffer, sizeof(buffer));
 }
 
 static int