Skip to content

refactor deposit_and_call and deposit_spl_token_and_call #63

refactor deposit_and_call and deposit_spl_token_and_call

refactor deposit_and_call and deposit_spl_token_and_call #63

GitHub Actions / clippy failed Oct 2, 2024 in 1s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (1)

programs/protocol-contracts-solana/src/lib.rs|127 col 9| warning: unused variable: receiver
--> programs/protocol-contracts-solana/src/lib.rs:127:9
|
127 | receiver: [u8; 20], // unused in this program; for directing zetachain protocol only
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: _receiver
|
= note: #[warn(unused_variables)] on by default

Filtered Findings (0)

Annotations

Check warning on line 127 in programs/protocol-contracts-solana/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] programs/protocol-contracts-solana/src/lib.rs#L127

warning: unused variable: `receiver`
   --> programs/protocol-contracts-solana/src/lib.rs:127:9
    |
127 |         receiver: [u8; 20], // unused in this program; for directing zetachain protocol only
    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver`
    |
    = note: `#[warn(unused_variables)]` on by default
Raw output
programs/protocol-contracts-solana/src/lib.rs:127:9:w:warning: unused variable: `receiver`
   --> programs/protocol-contracts-solana/src/lib.rs:127:9
    |
127 |         receiver: [u8; 20], // unused in this program; for directing zetachain protocol only
    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver`
    |
    = note: `#[warn(unused_variables)]` on by default


__END__