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

Fix maybe uninitialized warning in PairModulator #1964

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

mphoward
Copy link
Collaborator

@mphoward mphoward commented Dec 4, 2024

Description

My compiler raised some warnings about variables maybe being used uninitialized in PairModulator. This should silence those by initializing all member variables in the constructor.

Motivation and context

Code should compile without warning.

How has this been tested?

The compiler warnings went away.

Checklist:

  • I have reviewed the Contributor Guidelines.
  • I agree with the terms of the HOOMD-blue Contributor Agreement.
  • My name is on the list of contributors (sphinx-doc/credits.rst) in the pull request source branch.
  • I have summarized these changes in CHANGELOG.rst following the established format.

Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@github-actions github-actions bot added the stale There has been no activity on this for some time. label Dec 24, 2024
Copy link

github-actions bot commented Jan 4, 2025

This pull request has been automatically closed because it has not had recent activity.

@github-actions github-actions bot closed this Jan 4, 2025
@mphoward mphoward reopened this Jan 4, 2025
@github-actions github-actions bot removed the stale There has been no activity on this for some time. label Jan 5, 2025
@joaander joaander merged commit e2b20e6 into trunk-patch Jan 9, 2025
66 checks passed
@joaander joaander deleted the fix-pair-modulator-warning branch January 9, 2025 18:18
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.

2 participants