git: sed(1): Suppress implicit-fallthrough.

Rimvydas Jasinskas zrj at
Sat May 5 02:50:38 PDT 2018

commit 79b31cf5eab1ee0b17e63ad687447c888f7f1f49
Author: zrj <rimvydas.jasinskas at>
Date:   Thu Apr 26 09:53:22 2018 +0300

    sed(1): Suppress implicit-fallthrough.
    The enum in C is really an int in size and space and gcc80 warns on
    switch default. Add explict errx() to avoid that. If compiler can prove
    that default case would not be reached in linked script->type, then
    statement will be optimized out.

Summary of changes:
 usr.bin/sed/main.c | 2 ++
 1 file changed, 2 insertions(+)

DragonFly BSD source repository

More information about the Commits mailing list