[clang-tidy] do not use else after return
Found with readability-else-after-return Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
bd89499e07
commit
042f62dfc5
63 changed files with 372 additions and 300 deletions
|
@ -492,7 +492,9 @@ static PyObject *Table_next_fs(TableObject *self)
|
|||
if (rc == 1) {
|
||||
mnt_reset_iter(self->iter, MNT_ITER_FORWARD);
|
||||
Py_RETURN_NONE;
|
||||
} else if (rc)
|
||||
}
|
||||
|
||||
if (rc)
|
||||
return UL_RaiseExc(-rc);
|
||||
|
||||
return PyObjectResultFs(fs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue