Commit 9453183
Fixed warnings issued by new xt-clang compiler
New Xtensa xt-clang driver issues new warnings that were not
present before when using xt-xcc driver.
Fixed warnings related to enum cast to other enum by removing
"frame_fmt" local variable assignment in the selector.c file.
Assignment was not needed in the build_config function body, as the
variable "frame_fmt" is passed in the next line to
audio_stream_fmt_conversion function, that writes to this variable as
output.
Silenced warnings related to C/C++ interoperability.
Signed-off-by: Andrey Borisovich <andrey.borisovich@intel.com>1 parent b70ae5f commit 9453183
File tree
2 files changed
+9
-2
lines changed- src
- audio/selector
- include/sof/audio/module_adapter/iadk
2 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
582 | | - | |
583 | 582 | | |
584 | 583 | | |
585 | 584 | | |
586 | 585 | | |
587 | 586 | | |
588 | 587 | | |
589 | | - | |
590 | 588 | | |
591 | 589 | | |
592 | 590 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
| |||
233 | 238 | | |
234 | 239 | | |
235 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
236 | 245 | | |
0 commit comments