mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00
shada: Fix unused variable warning when using Release build
This commit is contained in:
@@ -3211,6 +3211,7 @@ static ShaDaReadResult fread_len(ShaDaReadDef *const sd_reader,
|
|||||||
FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT
|
FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT
|
||||||
{
|
{
|
||||||
const ptrdiff_t read_bytes = sd_reader->read(sd_reader, buffer, length);
|
const ptrdiff_t read_bytes = sd_reader->read(sd_reader, buffer, length);
|
||||||
|
(void) read_bytes;
|
||||||
|
|
||||||
if (sd_reader->error != NULL) {
|
if (sd_reader->error != NULL) {
|
||||||
emsg2(_(SERR "System error while reading ShaDa file: %s"),
|
emsg2(_(SERR "System error while reading ShaDa file: %s"),
|
||||||
|
Reference in New Issue
Block a user