Snippets for alsa-utils 1.2.16 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/alsa-utils/1.2.16/150amd64-default.log.
-
state.c:1380:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1380 | if (err |= !force_restore && numid != snd_ctl_elem_id_get_numid(elem_id1)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
state.c:1383:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1383 | if (err |= snd_ctl_elem_id_get_interface(elem_id) != snd_ctl_elem_id_get_interface(elem_id1)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
state.c:1388:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1388 | if (err |= snd_ctl_elem_id_get_device(elem_id) != snd_ctl_elem_id_get_device(elem_id1)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
state.c:1393:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1393 | if (err |= snd_ctl_elem_id_get_subdevice(elem_id) != snd_ctl_elem_id_get_subdevice(elem_id1)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
state.c:1398:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1398 | if (err |= strcmp(snd_ctl_elem_id_get_name(elem_id), snd_ctl_elem_id_get_name(elem_id1))) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
state.c:1403:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1403 | if (err |= snd_ctl_elem_id_get_index(elem_id) != snd_ctl_elem_id_get_index(elem_id1)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
speaker-test.c:422:21: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] 422 | res.i = res.f * INT32_MAX; | ~ ^~~~~~~~~ -
speaker-test.c:440:21: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] 440 | res.i = res.f * INT32_MAX; | ~ ^~~~~~~~~ -
speaker-test.c:454:21: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] 454 | res.i = res.f * INT32_MAX; | ~ ^~~~~~~~~ -
./nhlt.h:88:25: warning: field 'config' with variable sized type 'struct specific_config' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end] 88 | struct specific_config config; | ^ -
./nhlt.h:114:25: warning: field 'config' with variable sized type 'struct specific_config' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end] 114 | struct specific_config config; | ^ -
./nhlt.h:120:25: warning: field 'config' with variable sized type 'struct specific_config' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end] 120 | struct specific_config config; | ^ -
intel/../nhlt.h:88:25: warning: field 'config' with variable sized type 'struct specific_config' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end] 88 | struct specific_config config; | ^ -
intel/../nhlt.h:114:25: warning: field 'config' with variable sized type 'struct specific_config' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end] 114 | struct specific_config config; | ^ -
intel/../nhlt.h:120:25: warning: field 'config' with variable sized type 'struct specific_config' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end] 120 | struct specific_config config; | ^ -
intel/dmic/dmic-internal.h:328:32: warning: field 'dmic_blob' with variable sized type 'struct dmic_intel_config_data' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end] 328 | struct dmic_intel_config_data dmic_blob; | ^ -
intel/ssp/../../nhlt.h:88:25: warning: field 'config' with variable sized type 'struct specific_config' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end] 88 | struct specific_config config; | ^ -
intel/ssp/../../nhlt.h:114:25: warning: field 'config' with variable sized type 'struct specific_config' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end] 114 | struct specific_config config; | ^ -
intel/ssp/../../nhlt.h:120:25: warning: field 'config' with variable sized type 'struct specific_config' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end] 120 | struct specific_config config; | ^ -
pre-processor.c:710:7: warning: variable 'attr_val_count' set but not used [-Wunused-but-set-variable] 710 | int attr_val_count = 0; | ^