1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-19 00:25:17 +00:00

clang-tidy: apply readability-else-after-return check

See https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html
This commit is contained in:
Carles Fernandez
2019-02-11 15:53:50 +01:00
parent f1871a84e2
commit dfc963ad86
8 changed files with 31 additions and 48 deletions

View File

@@ -138,10 +138,7 @@ double rtl_tcp_dongle_info::clip_gain(int gain) const
{
return g;
}
else
{
return last_stop;
}
return last_stop;
}
last_stop = g;
}