diff --git a/vendored/sqlite3-parser/src/parser/ast/check.rs b/vendored/sqlite3-parser/src/parser/ast/check.rs index 2ba263347..cbe2cacc7 100644 --- a/vendored/sqlite3-parser/src/parser/ast/check.rs +++ b/vendored/sqlite3-parser/src/parser/ast/check.rs @@ -104,7 +104,7 @@ impl Stmt { pub fn check(&self) -> Result<(), ParserError> { match self { Self::AlterTable(alter_table) => { - let (old_name, body) = &**alter_table; + let (_, body) = &**alter_table; match body { AlterTableBody::AddColumn(cd) => { for c in cd {