Skip to content

Early return from ary_sample if the sampling number is 0 - #19673

Merged
nobu merged 1 commit into
ruby:masterfrom
nobu:build-warnings
Nov 3, 2026
Merged

nobu merged 1 commit into
ruby:masterfrom
nobu:build-warnings

Conversation

@nobu

@nobu nobu commented Nov 3, 2026

Copy link
Copy Markdown
Member

Get rid of using the uninitialized element, rnds[0].

Get rid of using the uninitialized element, `rnds[0]`.
@nobu
nobu enabled auto-merge (rebase) November 3, 2026 09:46
@nobu
nobu merged commit 9f2e545 into ruby:master Nov 3, 2026
136 checks passed
@nobu
nobu deleted the build-warnings branch November 3, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant