mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-09-29 07:20:51 +00:00
Remove logically dead code
This commit is contained in:
parent
b956a28a0f
commit
84f944d7fa
@ -284,11 +284,7 @@ int64_t Beidou_Dnav_Navigation_Message::read_navigation_signed(
|
|||||||
{
|
{
|
||||||
value &= 0;
|
value &= 0;
|
||||||
}
|
}
|
||||||
// Avoid saturation when decoding
|
|
||||||
if (value == std::numeric_limits<int64_t>::max() or value == std::numeric_limits<int64_t>::min())
|
|
||||||
{
|
|
||||||
value /= 2;
|
|
||||||
}
|
|
||||||
for (int32_t i = 0; i < num_of_slices; i++)
|
for (int32_t i = 0; i < num_of_slices; i++)
|
||||||
{
|
{
|
||||||
for (int32_t j = 0; j < parameter[i].second; j++)
|
for (int32_t j = 0; j < parameter[i].second; j++)
|
||||||
|
@ -311,11 +311,7 @@ int64_t Galileo_Navigation_Message::read_navigation_signed(std::bitset<GALILEO_D
|
|||||||
{
|
{
|
||||||
value &= 0LL;
|
value &= 0LL;
|
||||||
}
|
}
|
||||||
// Avoid saturation when decoding
|
|
||||||
if (value == std::numeric_limits<int64_t>::max() or value == std::numeric_limits<int64_t>::min())
|
|
||||||
{
|
|
||||||
value /= 2;
|
|
||||||
}
|
|
||||||
for (int32_t i = 0; i < num_of_slices; i++)
|
for (int32_t i = 0; i < num_of_slices; i++)
|
||||||
{
|
{
|
||||||
for (int32_t j = 0; j < parameter[i].second; j++)
|
for (int32_t j = 0; j < parameter[i].second; j++)
|
||||||
|
@ -122,11 +122,7 @@ int64_t Gps_CNAV_Navigation_Message::read_navigation_signed(std::bitset<GPS_CNAV
|
|||||||
{
|
{
|
||||||
value &= 0LL;
|
value &= 0LL;
|
||||||
}
|
}
|
||||||
// Avoid saturation when decoding
|
|
||||||
if (value == std::numeric_limits<int64_t>::max() or value == std::numeric_limits<int64_t>::min())
|
|
||||||
{
|
|
||||||
value /= 2;
|
|
||||||
}
|
|
||||||
for (int32_t i = 0; i < num_of_slices; i++)
|
for (int32_t i = 0; i < num_of_slices; i++)
|
||||||
{
|
{
|
||||||
for (int32_t j = 0; j < parameter[i].second; j++)
|
for (int32_t j = 0; j < parameter[i].second; j++)
|
||||||
|
@ -212,11 +212,7 @@ int64_t Gps_Navigation_Message::read_navigation_signed(std::bitset<GPS_SUBFRAME_
|
|||||||
{
|
{
|
||||||
value &= 0LL;
|
value &= 0LL;
|
||||||
}
|
}
|
||||||
// Avoid salutation when decoding;
|
|
||||||
if (value == std::numeric_limits<int64_t>::max() or value == std::numeric_limits<int64_t>::min())
|
|
||||||
{
|
|
||||||
value /= 2;
|
|
||||||
}
|
|
||||||
for (int32_t i = 0; i < num_of_slices; i++)
|
for (int32_t i = 0; i < num_of_slices; i++)
|
||||||
{
|
{
|
||||||
for (int32_t j = 0; j < parameter[i].second; j++)
|
for (int32_t j = 0; j < parameter[i].second; j++)
|
||||||
|
Loading…
Reference in New Issue
Block a user