Project

General

Profile

Actions

Bug #9292

closed

snoop: 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-17
Due date:
% Done:

100%

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

Description

Issue found by gcc 7 build:

    snoop_nis.c:531:3: error: this statement may fall through [-Werror=implicit-fallthrough=]
       (void) showxdr_string(YPMAXPEER, "Peer = %s");
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    snoop_nis.c:532:2: note: here
      case YPPROC_ORDER:
      ^~~~
    cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF