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

GH-44788: [C++] Fix a couple of maybe-uninitialized warnings #44789

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

raulcd
Copy link
Member

@raulcd raulcd commented Nov 19, 2024

Rationale for this change

I was getting some -Wmaybe-uninitialized warnings locally when building, see original issue for log.

What changes are included in this PR?

A couple of minor changes to avoid the warnings, initializing a variable and removing an unnecessary one.

Are these changes tested?

Code will be tested via CI and I can confirm I can compile without warnings now:

$ cmake --build arrow/cpp/build --target install -- -j 8
[411/412] Install the project...
-- Install configuration: "RELEASE"

Are there any user-facing changes?

No

Copy link

⚠️ GitHub issue #44788 has been automatically assigned in GitHub to PR creator.

@raulcd raulcd marked this pull request as ready for review November 19, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant