Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit 0f7f0b4

Browse files
committed
compiler warning
1 parent 9a3a520 commit 0f7f0b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/system_program.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,12 +240,12 @@ mod test {
240240
accounts[0].tokens = 100;
241241
accounts[1].tokens = 1;
242242
let tokens: i64 = 100;
243-
let data: Vec<u8> = serialize(&tokens).unwrap();
243+
let _data: Vec<u8> = serialize(&tokens).unwrap();
244244
{
245245
let hash = loaded_programs.write().unwrap();
246246
match hash.get(&program_id) {
247-
Some(dp) => {
248-
let mut infos: Vec<_> = (&keys)
247+
Some(_dp) => {
248+
let mut _infos: Vec<_> = (&keys)
249249
.into_iter()
250250
.zip(&mut accounts)
251251
.map(|(key, account)| KeyedAccount { key, account })

0 commit comments

Comments
 (0)