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

Variable "_custom_impl_clusters" unused before it went out of scope #25177

Merged
merged 1 commit into from
Feb 23, 2023
Merged

Variable "_custom_impl_clusters" unused before it went out of scope #25177

merged 1 commit into from
Feb 23, 2023

Conversation

swan-amazon
Copy link
Contributor

When generating data model with no clusters then a build error is generated due to the "_custom_impl_clusters" variable being unused before it went out of scope.

ERROR at //src/app/chip_data_model.gni:192:29: Assignment had no effect.
    _custom_impl_clusters = []
                            ^
You set the variable "_custom_impl_clusters" here and it was unused
before it went out of scope.

To prevent the issue, "_custom_impl_clusters" can be marked as not needed.

@github-actions
Copy link

PR #25177: Size comparison from 5b358b2 to 213c0b0

Decreases (1 build for cc32xx)
platform target config section 5b358b2 213c0b0 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20360345 20360343 -2 -0.0
Full report (1 build for cc32xx)
platform target config section 5b358b2 213c0b0 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 642217 642217 0 0.0
(read/write) 203696 203696 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197096 197096 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 934242 934242 0 0.0
.debug_aranges 87448 87448 0 0.0
.debug_frame 300212 300212 0 0.0
.debug_info 20360345 20360343 -2 -0.0
.debug_line 2661062 2661062 0 0.0
.debug_loc 2797107 2797107 0 0.0
.debug_ranges 281744 281744 0 0.0
.debug_str 3019502 3019502 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105705 105705 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 377379 377379 0 0.0
.symtab 256048 256048 0 0.0
.text 534392 534392 0 0.0

When generating data model with no clusters then a build error is
generated due to the "_custom_impl_clusters" variable being unused
before it went out of scope.

```
ERROR at //src/app/chip_data_model.gni:192:29: Assignment had no effect.
    _custom_impl_clusters = []
                            ^
You set the variable "_custom_impl_clusters" here and it was unused
before it went out of scope.
```

To prevent the issue, "_custom_impl_clusters" can be marked as not
needed.
@github-actions
Copy link

PR #25177: Size comparison from 015f11c to c948a83

Full report (1 build for cc32xx)
platform target config section 015f11c c948a83 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 642569 642569 0 0.0
(read/write) 203664 203664 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197064 197064 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930138 930138 0 0.0
.debug_aranges 87272 87272 0 0.0
.debug_frame 299764 299764 0 0.0
.debug_info 20249762 20249762 0 0.0
.debug_line 2655140 2655140 0 0.0
.debug_loc 2795460 2795460 0 0.0
.debug_ranges 281592 281592 0 0.0
.debug_str 3018033 3018033 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105817 105817 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 377761 377761 0 0.0
.symtab 256256 256256 0 0.0
.text 534628 534628 0 0.0

@chrisdecenzo chrisdecenzo enabled auto-merge (squash) February 23, 2023 00:21
@chrisdecenzo chrisdecenzo merged commit 19fbda3 into project-chip:master Feb 23, 2023
lecndav pushed a commit to lecndav/connectedhomeip that referenced this pull request Mar 22, 2023
…roject-chip#25177)

When generating data model with no clusters then a build error is
generated due to the "_custom_impl_clusters" variable being unused
before it went out of scope.

```
ERROR at //src/app/chip_data_model.gni:192:29: Assignment had no effect.
    _custom_impl_clusters = []
                            ^
You set the variable "_custom_impl_clusters" here and it was unused
before it went out of scope.
```

To prevent the issue, "_custom_impl_clusters" can be marked as not
needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants