9170 libnisdb: this statement may fall through

Review Request #897 — Created Feb. 22, 2018 and submitted

tsoome
illumos-gate
9170
fb8b620...
general
nis_parse_ldap_util.c:2048:9: error: this statement may fall through [-Werror=implicit-fallthrough=]
      if (yp2ldap) {
         ^
nis_parse_ldap_util.c:2056:5: note: here
     case '{': /* begin sequence */
     ^~~~

ldap_val.c:1796:10: error: this statement may fall through [-Werror=implicit-fallthrough=]
   ipaddr = TRUE;
ldap_val.c:1798:2: note: here
  case mmt_item:
  ^~~~

yptol/dit_access.c:299:4: error: this statement may fall through [-Werror=implicit-fallthrough=]
    logmsg(MSG_NOTIMECHECK, LOG_INFO,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    "%s passed illegal TTL type (%d)", myself, type);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
yptol/dit_access.c:303:3: note: here
   case TTL_RAND:
   ^~~~

nis_parse_ldap_yp_util.c:1106:12: error: this statement may fall through [-Werror=implicit-fallthrough=]
       type = YP_NAME_FIELDS;
nis_parse_ldap_yp_util.c:1107:6: note: here
      case key_yp_split_field:
      ^~~~

cc1: all warnings being treated as errors


yuripv
  1. Ship It!
  2. 
      
citrus
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...