Skip to content

Commit

Permalink
Refactor: libcrmcommon: avoid switch fall-through
Browse files Browse the repository at this point in the history
clang doesn't like it
  • Loading branch information
kgaillot committed Nov 15, 2022
1 parent 97f6301 commit 2240402
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/common/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ pcmk__next_cli_option(int argc, char **argv, int *index, const char **longname)
crm_notice("Unhandled option --%s", long_opts[*index].name);
return flag;
}
break;

case -1: /* End of option processing */
break;
case ':':
Expand Down

0 comments on commit 2240402

Please sign in to comment.