From 9c28bb0ca8bbd051ae32acd5a542c15991fab35f Mon Sep 17 00:00:00 2001 From: blockiosaurus Date: Sat, 17 Feb 2024 14:39:37 -0700 Subject: [PATCH] Removing warnings. --- programs/mpl-asset/src/processor/mod.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/programs/mpl-asset/src/processor/mod.rs b/programs/mpl-asset/src/processor/mod.rs index b2d5f831..ddf53a27 100644 --- a/programs/mpl-asset/src/processor/mod.rs +++ b/programs/mpl-asset/src/processor/mod.rs @@ -1,9 +1,6 @@ use crate::instruction::MplAssetInstruction; use borsh::{BorshDeserialize, BorshSerialize}; -use solana_program::{ - account_info::AccountInfo, entrypoint::ProgramResult, msg, program_error::ProgramError, - pubkey::Pubkey, -}; +use solana_program::{account_info::AccountInfo, entrypoint::ProgramResult, msg, pubkey::Pubkey}; mod create; pub(crate) use create::*; @@ -87,6 +84,5 @@ pub fn process_instruction<'a>( msg!("Instruction: Decompress"); decompress(accounts, args) } - _ => Err(ProgramError::InvalidInstructionData), } }