Skip to content

Add braces to initialisation list to avoid warnings when building#33

Merged
samchesney merged 2 commits intoxmos:masterfrom
mbanth:feature/remove-warnings
Jul 1, 2019
Merged

Add braces to initialisation list to avoid warnings when building#33
samchesney merged 2 commits intoxmos:masterfrom
mbanth:feature/remove-warnings

Conversation

@mbanth
Copy link
Copy Markdown
Contributor

@mbanth mbanth commented Jun 25, 2019

The ASRCFiltersIDs_t and SSRCFiltersIDs_t types each contain an array. The initialisation lists for variables either of these types did not take that additional array into account when grouping initial values with braces, leading to compiler warnings when building. This pull request adds in the missing braces.

mbanth added 2 commits June 25, 2019 11:53
Altered the braces in initialisation lists to match the underlying arrangement of nested lists.  The defined type (typedef) of the array includes a list which the initialisation lists did not take into account.
Copy link
Copy Markdown
Contributor

@samchesney samchesney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me.

@samchesney samchesney merged commit e9a2dd2 into xmos:master Jul 1, 2019
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