From: Holger Weiss Date: Fri, 20 Apr 2007 17:55:09 +0000 (+0000) Subject: Remove unused variables. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f100554212a20a2065cd0cbc395d5fb2eec6e715;p=nagiosplug.git Remove unused variables. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1698 f882894a-f735-0410-b71e-b25c423dba1c --- diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c index 993531c..72405fe 100644 --- a/plugins-root/check_dhcp.c +++ b/plugins-root/check_dhcp.c @@ -488,7 +488,6 @@ int get_dhcp_offer(int sock){ struct sockaddr_in source; struct sockaddr_in via; int result=OK; - int timeout=1; int responses=0; int x; time_t start_time; @@ -595,7 +594,6 @@ int get_dhcp_offer(int sock){ /* sends a DHCP packet */ int send_dhcp_packet(void *buffer, int buffer_size, int sock, struct sockaddr_in *dest){ - struct sockaddr_in myname; int result; result=sendto(sock,(char *)buffer,buffer_size,0,(struct sockaddr *)dest,sizeof(*dest));