mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
plugins/negate.c - Function should not return.
Coverity 66479 - validate_arguments has no need to return anything, as it dies on error, yet was set to return an int. Set to void to resolve warning.
This commit is contained in:
parent
88472d1804
commit
aa16beb971
1 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ const char *email = "devel@monitoring-plugins.org";
|
|||
/* char *command_line; */
|
||||
|
||||
static const char **process_arguments (int, char **);
|
||||
int validate_arguments (char **);
|
||||
void validate_arguments (char **);
|
||||
void print_help (void);
|
||||
void print_usage (void);
|
||||
int subst_text = FALSE;
|
||||
|
|
@ -205,7 +205,7 @@ process_arguments (int argc, char **argv)
|
|||
}
|
||||
|
||||
|
||||
int
|
||||
void
|
||||
validate_arguments (char **command_line)
|
||||
{
|
||||
if (command_line[0] == NULL)
|
||||
|
|
|
|||
Loading…
Reference in a new issue