mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-15 22:00:06 -04:00
Fix for -Wunused-but-set-variable
This commit is contained in:
parent
15b4e89a42
commit
79e2f52094
1 changed files with 1 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue