From 07e2a9508e82f6e507677de8d66f09c39a193da6 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 31 Jan 2014 15:00:58 +0000 Subject: [PATCH] Remove used var --- dhcp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dhcp.c b/dhcp.c index 29c57a0f..6ea91525 100644 --- a/dhcp.c +++ b/dhcp.c @@ -2511,14 +2511,13 @@ dhcp_handleudp(void *arg) { 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 -- 2.47.3