Fix a Coverity warning.

This commit is contained in:
Milan Broz
2021-06-17 13:02:42 +02:00
parent 07e687106a
commit 8f752a2bd7

View File

@@ -179,7 +179,8 @@ parse_opt (int key, char *arg, struct argp_state *state) {
arguments->debug_json = 1;
break;
case ARGP_KEY_NO_ARGS:
argp_usage (state);
argp_usage(state);
break;
case ARGP_KEY_ARG:
arguments->action = arg;
arguments->device = state->argv[state->next];