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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user