diff options
| author | Misaki Shioi <31817032+shioimm@users.noreply.github.com> | 2025-12-28 17:23:50 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-28 17:23:50 +0900 |
| commit | 3fe2ebf8e4127bca0a57d4ed8eb6035792420a26 (patch) | |
| tree | 104e22cb97a76743775f0ec2e153cfcc9a80d8ec /include/ruby/internal/encoding/transcode.h | |
| parent | 6544c89708d94b894012e0587f770f33bbce4a3b (diff) | |
Remove unnecessary comparison from is_local_port_fixed (#15757)
Simplify the conditions:
- Return false if the port is 0 or a negative number
- Return true if the port is a positive number
Diffstat (limited to 'include/ruby/internal/encoding/transcode.h')
0 files changed, 0 insertions, 0 deletions
