mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Fix a warning about extra parenthesis
This commit is contained in:
parent
23bd61a141
commit
f77fe24d2d
1 changed files with 2 additions and 3 deletions
|
@ -2390,10 +2390,9 @@ sp_head::check_unresolved_goto()
|
|||
if (m_backpatch_goto.elements > 0)
|
||||
{
|
||||
List_iterator_fast<bp_t> li(m_backpatch_goto);
|
||||
bp_t *bp;
|
||||
while ((bp= li++))
|
||||
while (bp_t* bp= li++)
|
||||
{
|
||||
if ((bp->instr_type == GOTO))
|
||||
if (bp->instr_type == GOTO)
|
||||
{
|
||||
my_error(ER_SP_LILABEL_MISMATCH, MYF(0), "GOTO", bp->lab->name.str);
|
||||
has_unresolved_label=true;
|
||||
|
|
Loading…
Reference in a new issue