mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-08 04:48:52 +08:00
libuavcan: Coverity false positive suppression
This commit is contained in:
@@ -484,6 +484,7 @@ class UAVCAN_EXPORT Array : public ArrayImpl<T, ArrayMode, MaxSize_>
|
||||
}
|
||||
else
|
||||
{
|
||||
// coverity[suspicious_sizeof : FALSE]
|
||||
::uavcan::fill_n(it, MaxSize, 0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user