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 uninitialized scalar errors reported by Coverity: #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bobk2824
Copy link

A Coverity scan on my project, when including DTL, reported these errors:

uninit_use_in_call: Using uninitialized value cordinate. Field cordinate.k is uninitialized when calling push_back.

uninit_member: Non-static class member ox is not initialized in this constructor nor in any functions that it calls.

uninit_member: Non-static class member oy is not initialized in this constructor nor in any functions that it calls.

This PR fixes these issues.
Thanks!

uninit_use_in_call: Using uninitialized value cordinate. Field cordinate.k is uninitialized when calling push_back.

uninit_member: Non-static class member ox is not initialized in this constructor nor in any functions that it calls.

uninit_member: Non-static class member oy is not initialized in this constructor nor in any functions that it calls.
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