diff options
author | monty@mysql.com <> | 2005-02-25 16:53:22 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2005-02-25 16:53:22 +0200 |
commit | 0a6b7aedb2cec716b98349765bfa369354787b25 (patch) | |
tree | 9b48fa5a8476d449ea4512314b86f9704517cd0c /sql/sql_load.cc | |
parent | cd78e701a5c83394c360f6ba9a1783c7b950e8ee (diff) | |
download | mariadb-git-0a6b7aedb2cec716b98349765bfa369354787b25.tar.gz |
Remove compiler warnings and remove not used variables
(Found during build process)
Diffstat (limited to 'sql/sql_load.cc')
-rw-r--r-- | sql/sql_load.cc | 3 |
1 files changed, 0 insertions, 3 deletions
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) |