summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authormiguel@hegel.br <>2002-12-29 21:50:52 -0200
committermiguel@hegel.br <>2002-12-29 21:50:52 -0200
commitf43ebb83db74267a63613ecce7225ca73e593b38 (patch)
tree33f44b0817e2a1a800e111b113feaaa050231498 /sql/sql_show.cc
parent6ab60981e806bcbf17f80f3c89a0b00ba232ce6e (diff)
downloadmariadb-git-f43ebb83db74267a63613ecce7225ca73e593b38.tar.gz
Fix compiler warnings removing unreferenced variables
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index ebade0111b0..4cb0d2098d0 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -841,7 +841,6 @@ int
mysqld_show_keys(THD *thd, TABLE_LIST *table_list)
{
TABLE *table;
- char buff[256];
Protocol *protocol= thd->protocol;
DBUG_ENTER("mysqld_show_keys");
DBUG_PRINT("enter",("db: %s table: %s",table_list->db,
@@ -1329,7 +1328,6 @@ void mysqld_list_processes(THD *thd,const char *user, bool verbose)
time_t now= time(0);
while ((thd_info=thread_infos.get()))
{
- char buff[20],*end;
protocol->prepare_for_resend();
protocol->store((ulonglong) thd_info->thread_id);
protocol->store(thd_info->user);