Fix clippy warnings

This commit is contained in:
Anton Harniakou 2025-05-04 13:02:54 +03:00
parent 9d31f5d848
commit 2432e0561e
2 changed files with 2 additions and 2 deletions

View file

@ -196,7 +196,7 @@ pub fn op_drop_index(
pager: &Rc<Pager>,
mv_store: Option<&Rc<MvStore>>,
) -> Result<InsnFunctionStepResult> {
let Insn::DropIndex { index, db } = insn else {
let Insn::DropIndex { index, db: _ } = insn else {
unreachable!("unexpected Insn {:?}", insn)
};
if let Some(conn) = program.connection.upgrade() {

View file

@ -1179,7 +1179,7 @@ pub fn insn_to_str(
0,
format!("DROP TABLE {}", table_name),
),
Insn::DropIndex { db, index } => (
Insn::DropIndex { db: _, index } => (
"DropIndex",
0,
0,