Notated impossible branch as unreachable.

pull/13171/head
Joshua Haberman 4 years ago
parent 9b31e8fe12
commit df3438222b
  1. 2
      upb/encode.c

@ -227,6 +227,8 @@ static void encode_scalar(upb_encstate *e, const void *_field_mem,
wire_type = UPB_WIRE_TYPE_DELIMITED; wire_type = UPB_WIRE_TYPE_DELIMITED;
break; break;
} }
default:
UPB_UNREACHABLE();
} }
#undef CASE #undef CASE

Loading…
Cancel
Save