Skip to content

Interactor test fixes #566

Interactor test fixes

Interactor test fixes #566

GitHub Actions / clippy failed Oct 18, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (2)

esdt-safe/interactor/src/interactor_main.rs|931 col 41| warning: unused variable: has_transfer_data
--> esdt-safe/interactor/src/interactor_main.rs:931:41
|
931 | async fn setup_operation(&mut self, has_transfer_data: bool) -> Operation {
| ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: _has_transfer_data
|
= note: #[warn(unused_variables)] on by default
esdt-safe/interactor/src/interactor_main.rs|931 col 41| warning: unused variable: has_transfer_data
--> esdt-safe/interactor/src/interactor_main.rs:931:41
|
931 | async fn setup_operation(&mut self, has_transfer_data: bool) -> Operation {
| ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: _has_transfer_data
|
= note: #[warn(unused_variables)] on by default

Filtered Findings (0)

Annotations

Check warning on line 931 in esdt-safe/interactor/src/interactor_main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] esdt-safe/interactor/src/interactor_main.rs#L931

warning: unused variable: `has_transfer_data`
   --> esdt-safe/interactor/src/interactor_main.rs:931:41
    |
931 |     async fn setup_operation(&mut self, has_transfer_data: bool) -> Operation<StaticApi> {
    |                                         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_transfer_data`
    |
    = note: `#[warn(unused_variables)]` on by default
Raw output
esdt-safe/interactor/src/interactor_main.rs:931:41:w:warning: unused variable: `has_transfer_data`
   --> esdt-safe/interactor/src/interactor_main.rs:931:41
    |
931 |     async fn setup_operation(&mut self, has_transfer_data: bool) -> Operation<StaticApi> {
    |                                         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_transfer_data`
    |
    = note: `#[warn(unused_variables)]` on by default


__END__

Check warning on line 931 in esdt-safe/interactor/src/interactor_main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] esdt-safe/interactor/src/interactor_main.rs#L931

warning: unused variable: `has_transfer_data`
   --> esdt-safe/interactor/src/interactor_main.rs:931:41
    |
931 |     async fn setup_operation(&mut self, has_transfer_data: bool) -> Operation<StaticApi> {
    |                                         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_transfer_data`
    |
    = note: `#[warn(unused_variables)]` on by default
Raw output
esdt-safe/interactor/src/interactor_main.rs:931:41:w:warning: unused variable: `has_transfer_data`
   --> esdt-safe/interactor/src/interactor_main.rs:931:41
    |
931 |     async fn setup_operation(&mut self, has_transfer_data: bool) -> Operation<StaticApi> {
    |                                         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_transfer_data`
    |
    = note: `#[warn(unused_variables)]` on by default


__END__