Merge pull request #1940 from RincewindsHat/compiler_warning_unused-but-set-variable

check_dhcp: Fix for -Wunused-but-set-variable
This commit is contained in:
Lorenz Kästle 2023-10-16 11:19:31 +02:00 committed by GitHub
commit e23a75d954
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1064,12 +1064,10 @@ int get_results(void){
/* process command-line arguments */
int process_arguments(int argc, char **argv){
int arg_index;
if(argc<1)
return ERROR;
arg_index = call_getopt(argc,argv);
call_getopt(argc,argv);
return validate_arguments(argc);
}