forked from enlightenment/efl
add braces to remove ambiguous condition warning
SVN revision: 52246
This commit is contained in:
parent
2e87895f67
commit
f7b1362905
|
@ -440,6 +440,7 @@ _eina_matrixsparse_row_idx_get(const Eina_Matrixsparse *m, unsigned long row)
|
|||
|
||||
}
|
||||
else if (dir < 0)
|
||||
{
|
||||
for (; r; r = r->prev)
|
||||
if (r->row == row)
|
||||
{
|
||||
|
@ -448,6 +449,7 @@ _eina_matrixsparse_row_idx_get(const Eina_Matrixsparse *m, unsigned long row)
|
|||
}
|
||||
else if (r->row < row)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
@ -490,6 +492,7 @@ _eina_matrixsparse_row_cell_idx_get(const Eina_Matrixsparse_Row *r,
|
|||
|
||||
}
|
||||
else if (dir < 0)
|
||||
{
|
||||
for (; r; c = c->prev)
|
||||
if (c->col == col)
|
||||
{
|
||||
|
@ -498,6 +501,7 @@ _eina_matrixsparse_row_cell_idx_get(const Eina_Matrixsparse_Row *r,
|
|||
}
|
||||
else if (c->col < col)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue