mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 08:43:33 +08:00
Automated style fixes in order to bring the code a little bit closer to compliance with MISRA C++ rules. No changes in logic.
This commit is contained in:
@@ -59,7 +59,9 @@ public:
|
||||
IMarshalBuffer* getBuffer(unsigned int size)
|
||||
{
|
||||
if (size > MaxSize)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
buffer_.reset();
|
||||
return &buffer_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user