Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid uninitialized value warning #22859

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

jkeenan
Copy link
Contributor

@jkeenan jkeenan commented Dec 13, 2024

Using same trick as in S_scan_const() in toke.c

TODO: fill description here


  • This set of changes requires a perldelta entry, and it is included.
  • This set of changes requires a perldelta entry, and I need help writing it.
  • This set of changes does not require a perldelta entry.

@jkeenan
Copy link
Contributor Author

jkeenan commented Dec 13, 2024

Eliminates build-time warning in GH #22858 -- but since IANACP, needs review.

@jkeenan jkeenan added the build-time-warnings Replaces [META] Build-time warnings RT #133556 label Dec 13, 2024
utf8.c Outdated Show resolved Hide resolved
@tonycoz
Copy link
Contributor

tonycoz commented Dec 15, 2024

#22819 (currently draft) also includes a fix for this.

jkeenan added a commit that referenced this pull request Dec 19, 2024
Per recommendation by Karl Williamson in GH-22859.
@jkeenan jkeenan force-pushed the smoke-me/jkeenan/gh-22858-uninit-value branch from fd850aa to 0b33a25 Compare December 19, 2024 01:25
@jkeenan jkeenan added the squash-before-merge Author must squash the commits down before merging to blead label Dec 19, 2024
Initialize UV uv to 0, per recommendation by Karl Williamson in
GH #22859.
@jkeenan jkeenan force-pushed the smoke-me/jkeenan/gh-22858-uninit-value branch from 0b33a25 to 005b478 Compare December 19, 2024 12:07
@jkeenan jkeenan merged commit b4a1dca into blead Dec 19, 2024
67 checks passed
@jkeenan jkeenan deleted the smoke-me/jkeenan/gh-22858-uninit-value branch December 23, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-time-warnings Replaces [META] Build-time warnings RT #133556 squash-before-merge Author must squash the commits down before merging to blead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants