Commit 1271c1f
committed
[[ Cleanup ]] Prevent a large number of unused variable warnings.
In the advanced_imaging_combiner() template function, two alpha
channel variables were being set while decomposing colour information
but were not being used. Since it makes sense to decompose all
channels, even if not all channels are needed, add ATTRIBUTE_UNUSED.
This prevents a set-but-unused warning from being emitted for every
single instance of the template.1 parent 3ef5f1b commit 1271c1f
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
655 | 655 | | |
656 | 656 | | |
657 | 657 | | |
658 | | - | |
659 | | - | |
| 658 | + | |
| 659 | + | |
660 | 660 | | |
661 | 661 | | |
662 | 662 | | |
| |||
0 commit comments