summaryrefslogtreecommitdiffstats
path: root/plugins-root
diff options
context:
space:
mode:
authorHolger Weiss <hweiss@users.sourceforge.net>2007-04-20 17:55:09 (GMT)
committerHolger Weiss <hweiss@users.sourceforge.net>2007-04-20 17:55:09 (GMT)
commitf100554212a20a2065cd0cbc395d5fb2eec6e715 (patch)
treece65d1bb06a483043cb7322afe2b895501bbb922 /plugins-root
parentef0431fa27d634a7981d906a5728e40a0b8f97fa (diff)
downloadmonitoring-plugins-f100554212a20a2065cd0cbc395d5fb2eec6e715.tar.gz
Remove unused variables.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1698 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-root')
-rw-r--r--plugins-root/check_dhcp.c2
1 files changed, 0 insertions, 2 deletions
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){
488 struct sockaddr_in source; 488 struct sockaddr_in source;
489 struct sockaddr_in via; 489 struct sockaddr_in via;
490 int result=OK; 490 int result=OK;
491 int timeout=1;
492 int responses=0; 491 int responses=0;
493 int x; 492 int x;
494 time_t start_time; 493 time_t start_time;
@@ -595,7 +594,6 @@ int get_dhcp_offer(int sock){
595 594
596/* sends a DHCP packet */ 595/* sends a DHCP packet */
597int send_dhcp_packet(void *buffer, int buffer_size, int sock, struct sockaddr_in *dest){ 596int send_dhcp_packet(void *buffer, int buffer_size, int sock, struct sockaddr_in *dest){
598 struct sockaddr_in myname;
599 int result; 597 int result;
600 598
601 result=sendto(sock,(char *)buffer,buffer_size,0,(struct sockaddr *)dest,sizeof(*dest)); 599 result=sendto(sock,(char *)buffer,buffer_size,0,(struct sockaddr *)dest,sizeof(*dest));