NO-OP: help out clang-analyzer

This commit is contained in:
Robin Gareus 2020-11-20 19:42:33 +01:00
parent 7d4cd5c76a
commit a329de9d2f
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -530,7 +530,7 @@ RAMStream::RAMStream (uint8_t* data, size_t size)
, _pos (0)
, _readonly (true)
{
if (size > 0 && reallocate_buffer (_size, true)) {
if (_size > 0 && reallocate_buffer (_size, true)) {
memcpy (_data, data, _size);
} else {
_size = 0;