From: Roy Marples Date: Fri, 31 Jan 2014 15:00:58 +0000 (+0000) Subject: Remove used var X-Git-Tag: v6.3.0~66 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=07e2a9508e82f6e507677de8d66f09c39a193da6;p=thirdparty%2Fdhcpcd.git Remove used var --- 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