From 0a6b7aedb2cec716b98349765bfa369354787b25 Mon Sep 17 00:00:00 2001 From: "monty@mysql.com" <> Date: Fri, 25 Feb 2005 16:53:22 +0200 Subject: Remove compiler warnings and remove not used variables (Found during build process) --- sql/sql_load.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'sql/sql_load.cc') diff --git a/sql/sql_load.cc b/sql/sql_load.cc index efd914003dc..174ccdfab5b 100644 --- a/sql/sql_load.cc +++ b/sql/sql_load.cc @@ -104,7 +104,6 @@ bool mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list, */ char *tdb= thd->db ? thd->db : db; // Result is never null ulong skip_lines= ex->skip_lines; - int res; bool transactional_table; DBUG_ENTER("mysql_load"); @@ -144,8 +143,6 @@ bool mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list, { // Part field list thd->dupp_field=0; /* TODO: use this conds for 'WITH CHECK OPTIONS' */ - Item *unused_conds= 0; - TABLE_LIST *leaves= 0; if (setup_fields(thd, 0, table_list, fields, 1, 0, 0)) DBUG_RETURN(TRUE); if (thd->dupp_field) -- cgit v1.2.1