Fix uninitialized scalar errors reported by Coverity: #16
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-cubicdaiya/dtl!16
Loading…
Reference in a new issue
No description provided.
Delete branch "bobk2824/bugfix-uninitialized-scalar"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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!
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.