Skip to content

Commit

Permalink
Add unreachable croak
Browse files Browse the repository at this point in the history
  • Loading branch information
kfly8 committed Dec 17, 2024
1 parent f875e50 commit a59222a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hax/sv_numcmp.c.inc
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ static int S_sv_numcmp_flags(pTHX_ SV *lhs, SV *rhs, U32 flags)
}
case 3: /* UV <=> UV */
return (SvUVX(lhs) > SvUVX(rhs)) - (SvUVX(lhs) < SvUVX(rhs));
default:
croak("unreachable");
}
}
else {
Expand Down

0 comments on commit a59222a

Please sign in to comment.