cleanup
This commit is contained in:
parent
f22d96df0c
commit
73a8b2c9fc
@ -286,7 +286,6 @@ auto ring_buffer_open_file::read(std::size_t read_size,
|
|||||||
&bytes_read)
|
&bytes_read)
|
||||||
? api_error::success
|
? api_error::success
|
||||||
: api_error::os_error;
|
: api_error::os_error;
|
||||||
buffer.resize(bytes_read);
|
|
||||||
|
|
||||||
if (result != api_error::success) {
|
if (result != api_error::success) {
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user