mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 09:43:34 +08:00
Explicit void cast for unused return values
This commit is contained in:
@@ -56,7 +56,7 @@ void bitarrayCopy(const unsigned char* src_org, int src_offset, int src_len, uns
|
||||
|
||||
if (byte_len)
|
||||
{
|
||||
std::memcpy(dst, src, byte_len);
|
||||
(void)std::memcpy(dst, src, byte_len);
|
||||
src += byte_len;
|
||||
dst += byte_len;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user