Skip to content

Fightwarn array initializers trivial#849

Merged
jimklimov merged 69 commits intonetworkupstools:masterfrom
jimklimov:fightwarn-array-initializers-trivial
Nov 11, 2020
Merged

Fightwarn array initializers trivial#849
jimklimov merged 69 commits intonetworkupstools:masterfrom
jimklimov:fightwarn-array-initializers-trivial

Conversation

@jimklimov
Copy link
Copy Markdown
Member

@jimklimov jimklimov commented Nov 8, 2020

This PR explicitly initializes all fields of our many arrays (mostly to same zero or NULL values as were defaulted implicitly).

Discovered thanks to CI improvements from #844

This one I intend to merge with little need for discussion, maybe within a week. Still, review and approval would be warmly appreciated :)

Note for reviewers: I tagged below in code review some points where discussions and decisions can be made (in future PRs if some change is deemed needed), but otherwise they seem harmless as in not blocking a merge.

…ield and comment where a real nuf() might be useful
…d and comment where a real nuf() might be useful
… comment concern whether the addition was right?)
@jimklimov jimklimov force-pushed the fightwarn-array-initializers-trivial branch from 61775c3 to 70c2c1c Compare November 8, 2020 06:22
@lgtm-com
Copy link
Copy Markdown

lgtm-com Bot commented Nov 8, 2020

This pull request introduces 6 alerts when merging 70c2c1c into 8c1ad08 - view on LGTM.com

new alerts:

  • 6 for FIXME comment

@jimklimov jimklimov merged commit 052cd83 into networkupstools:master Nov 11, 2020
@jimklimov jimklimov deleted the fightwarn-array-initializers-trivial branch November 15, 2020 10:36
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