Explicit void cast for unused return values

This commit is contained in:
Pavel Kirienko
2014-04-19 17:45:03 +04:00
parent b2c021397d
commit f31d46ea6c
12 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -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;
}