From a19ddf01176ec979b26ef367dd98f135e07049b7 Mon Sep 17 00:00:00 2001 From: Igor Babaev Date: Thu, 19 May 2011 14:53:16 -0700 Subject: Fixed compiler warnings. --- sql/sql_union.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sql/sql_union.cc') diff --git a/sql/sql_union.cc b/sql/sql_union.cc index 6ad5b814676..f96b2d5c6bc 100644 --- a/sql/sql_union.cc +++ b/sql/sql_union.cc @@ -356,8 +356,8 @@ bool st_select_lex_unit::prepare(THD *thd_arg, select_result *sel_result, List_iterator_fast tp(types); Item *type; ulonglong create_options; - uint save_tablenr; - table_map save_map; + uint save_tablenr= 0; + table_map save_map= 0; while ((type= tp++)) { -- cgit v1.2.1