Skip to content

refactor deposit_and_call and deposit_spl_token_and_call #65

refactor deposit_and_call and deposit_spl_token_and_call

refactor deposit_and_call and deposit_spl_token_and_call #65

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

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (1)

programs/protocol-contracts-solana/src/lib.rs|140 col 9| warning: unused variable: receiver
--> programs/protocol-contracts-solana/src/lib.rs:140:9
|
140 | 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 140 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#L140

warning: unused variable: `receiver`
   --> programs/protocol-contracts-solana/src/lib.rs:140:9
    |
140 |         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:140:9:w:warning: unused variable: `receiver`
   --> programs/protocol-contracts-solana/src/lib.rs:140:9
    |
140 |         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__