diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-03-21 10:14:57 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-03-21 10:14:57 +0200 |
commit | 482710b20c28e2cdc598dc37468cc5dc06c53ac1 (patch) | |
tree | 8e3867dbfe2930b53f194ac2f3599f63d8e43675 | |
parent | 5a780f2ec80ae48af44176157ab76ec104f209c0 (diff) | |
download | mariadb-git-482710b20c28e2cdc598dc37468cc5dc06c53ac1.tar.gz |
Remove an unused variable
-rw-r--r-- | sql/sql_delete.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc index 1735a5ac863..7b0572dbc78 100644 --- a/sql/sql_delete.cc +++ b/sql/sql_delete.cc @@ -319,8 +319,7 @@ bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds, DBUG_RETURN(true); } - TABLE *table= table_list->table; - DBUG_ASSERT(table); + DBUG_ASSERT(table_list->table); DBUG_ASSERT(!conds || thd->stmt_arena->is_stmt_execute()); |