1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Fixed compiler warnings about possible uninitialized variables

This commit is contained in:
Monty
2018-01-01 14:10:22 +02:00
parent 7703095d2e
commit 322c637c1c
6 changed files with 15 additions and 11 deletions

View File

@@ -664,7 +664,7 @@ void With_element::move_anchors_ahead()
{
st_select_lex *next_sl;
st_select_lex *new_pos= spec->first_select();
st_select_lex *last_sl;
st_select_lex *UNINIT_VAR(last_sl);
new_pos->linkage= UNION_TYPE;
for (st_select_lex *sl= new_pos; sl; sl= next_sl)
{