/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to plugin-runner.c

  • Committer: Teddy Hogeborn
  • Date: 2019-07-07 19:15:30 UTC
  • mto: This revision was merged to the branch mainline in revision 384.
  • Revision ID: teddy@recompile.se-20190707191530-ugewhobirslgih74
plugin-runner.c: Switch to attribute to mark switch fallthrough

* plugin-runner.c (main/parse_opt): Change /* FALLTHROUGH */ comment
                                    to __attribute__((fallthrough)),
                                    as required by
                                    -Wimplicit-fallthrough=5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
586
586
      if(arg[0] == '\0'){
587
587
        break;
588
588
      }
589
 
      /* FALLTHROUGH */
 
589
      __attribute__((fallthrough));
590
590
    default:
591
591
      return ARGP_ERR_UNKNOWN;
592
592
    }