diff --git a/core/schema.rs b/core/schema.rs index 7e7fc953e..546af4f00 100644 --- a/core/schema.rs +++ b/core/schema.rs @@ -1,8 +1,6 @@ use crate::function::Func; use crate::incremental::view::IncrementalView; -use crate::translate::emitter::Resolver; use crate::translate::expr::{bind_and_rewrite_expr, walk_expr, ParamState, WalkControl}; -use crate::translate::optimizer::Optimizable; use parking_lot::RwLock; /// Simple view structure for non-materialized views diff --git a/core/translate/emitter.rs b/core/translate/emitter.rs index 16106870f..aff649cf8 100644 --- a/core/translate/emitter.rs +++ b/core/translate/emitter.rs @@ -577,7 +577,6 @@ fn emit_delete_insns( let where_copy = index .bind_where_expr(Some(table_references), connection) .expect("where clause to exist"); - let where_result_reg = program.alloc_register(); let skip_label = program.allocate_label(); translate_condition_expr( program,