Project

General

Profile

Actions

Bug #9390

closed

killall: this statement may fall through

Added by Toomas Soome over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2018-03-28
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

issue found by gcc 7 build:

    killall.c:56:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
        if (str2sig(argv[1], &sig) == 0)
           ^
    killall.c:58:3: note: here
       default:
       ^~~~~~~
    cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF