Skip to content

Fix unnecessary parentheses warnings #221

Fix unnecessary parentheses warnings

Fix unnecessary parentheses warnings #221

Triggered via push June 14, 2024 15:08
Status Success
Total duration 2m 33s
Artifacts

speexdsp.yml

on: push
rustfmt-clippy
51s
rustfmt-clippy
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

16 warnings
casting raw pointers to the same type and constness is unnecessary (`*mut i32` -> `*mut i32`): fft/tests/fftwrap.rs#L195
warning: casting raw pointers to the same type and constness is unnecessary (`*mut i32` -> `*mut i32`) --> fft/tests/fftwrap.rs:195:13 | 195 | original_drft_lookup.splitcache as *mut i32, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `original_drft_lookup.splitcache` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting raw pointers to the same type and constness is unnecessary (`*mut f32` -> `*mut f32`): fft/tests/fftwrap.rs#L187
warning: casting raw pointers to the same type and constness is unnecessary (`*mut f32` -> `*mut f32`) --> fft/tests/fftwrap.rs:187:13 | 187 | original_drft_lookup.trigcache as *mut f32, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `original_drft_lookup.trigcache` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
tests (tests)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
tests (tests)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
rustfmt-clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
rustfmt-clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
rustfmt-clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
rustfmt-clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
rustfmt-clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
rustfmt-clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
casting raw pointers to the same type and constness is unnecessary (`*mut i32` -> `*mut i32`): fft/tests/fftwrap.rs#L195
warning: casting raw pointers to the same type and constness is unnecessary (`*mut i32` -> `*mut i32`) --> fft/tests/fftwrap.rs:195:13 | 195 | original_drft_lookup.splitcache as *mut i32, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `original_drft_lookup.splitcache` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting raw pointers to the same type and constness is unnecessary (`*mut f32` -> `*mut f32`): fft/tests/fftwrap.rs#L187
warning: casting raw pointers to the same type and constness is unnecessary (`*mut f32` -> `*mut f32`) --> fft/tests/fftwrap.rs:187:13 | 187 | original_drft_lookup.trigcache as *mut f32, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `original_drft_lookup.trigcache` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
tests (bench-resampler-sse)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
tests (bench-resampler-sse)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
tests (bench-resampler)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
tests (bench-resampler)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/