mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 07:43:35 +08:00
Control flow/braces fixes
This commit is contained in:
@@ -495,6 +495,10 @@ public:
|
||||
pop_back();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
; // Exact size
|
||||
}
|
||||
}
|
||||
|
||||
void resize(SizeType new_size)
|
||||
|
||||
@@ -162,6 +162,10 @@ private:
|
||||
{
|
||||
value = -max();
|
||||
}
|
||||
else
|
||||
{
|
||||
; // Valid range
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -178,6 +182,10 @@ private:
|
||||
{
|
||||
value = -std::numeric_limits<StorageType>::infinity();
|
||||
}
|
||||
else
|
||||
{
|
||||
; // Valid range
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -71,6 +71,10 @@ private:
|
||||
{
|
||||
value = min();
|
||||
}
|
||||
else
|
||||
{
|
||||
; // Valid range
|
||||
}
|
||||
}
|
||||
|
||||
static void truncate(StorageType& value) { value &= mask(); }
|
||||
|
||||
Reference in New Issue
Block a user