authorgravatar for justus@klausecker.deJustus Klausecker <justus@klausecker.de> 2025-08-07 14:34:05+02:00
committergravatar for justus@klausecker.deJustus Klausecker <justus@klausecker.de> 2025-08-07 14:34:05+02:00
logaaee26bb1914a3d4e385bd120515813ece80311d
treee0c7a31a1083c592f885a575cdd9c1ce18a7cba8
parent0ecbd5a0e113c0c771ef285cedd0880e695296e6

remove unnecessary discard


1 files changed, 1 insertions(+), 2 deletions(-)

src/Sema.zig+1-2
......@@ -12007,9 +12007,8 @@ fn zirSwitchBlock(sema: *Sema, block: *Block, inst: Zir.Inst.Index, operand_is_r
1200712007 // it to a prong with explicit items.
1200812008 // Although this is potentially the same as `inline else` it does not count
1200912009 // towards the backward branch quota because it's an implementation detail.
12010 if (special_members_only) |special| gen: {
12010 if (special_members_only != null) gen: {
1201112011 assert(cond_ty.isNonexhaustiveEnum(zcu));
12012 _ = special;
1201312012
1201412013 var min_i: usize = math.maxInt(usize);
1201512014 var max_i: usize = 0;