Fix a warning about extra parenthesis

This commit is contained in:
Marko Mäkelä 2018-01-05 22:45:23 +02:00
parent 23bd61a141
commit f77fe24d2d

View file

@ -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;