summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins-root/check_dhcp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c
index 5ba9372..6b07df5 100644
--- a/plugins-root/check_dhcp.c
+++ b/plugins-root/check_dhcp.c
@@ -1064,12 +1064,10 @@ int get_results(void){
1064 1064
1065/* process command-line arguments */ 1065/* process command-line arguments */
1066int process_arguments(int argc, char **argv){ 1066int process_arguments(int argc, char **argv){
1067 int arg_index;
1068
1069 if(argc<1) 1067 if(argc<1)
1070 return ERROR; 1068 return ERROR;
1071 1069
1072 arg_index = call_getopt(argc,argv); 1070 call_getopt(argc,argv);
1073 return validate_arguments(argc); 1071 return validate_arguments(argc);
1074} 1072}
1075 1073