diff options
author | ZyX <kp-pav@yandex.ru> | 2015-08-14 00:38:24 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2015-10-08 22:00:42 +0300 |
commit | bcb60b0a645582558017e31b75f691a889cf562b (patch) | |
tree | e80d06a2cdcea15c71ade524a41e8baba241cacf | |
parent | bcd8789609476c5ad845d186be13f338c951a068 (diff) | |
download | rneovim-bcb60b0a645582558017e31b75f691a889cf562b.tar.gz rneovim-bcb60b0a645582558017e31b75f691a889cf562b.tar.bz2 rneovim-bcb60b0a645582558017e31b75f691a889cf562b.zip |
shada: Fix unused variable warning when using Release build
-rw-r--r-- | src/nvim/shada.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/shada.c b/src/nvim/shada.c index 86714a5eb7..f44594f372 100644 --- a/src/nvim/shada.c +++ b/src/nvim/shada.c @@ -3210,7 +3210,8 @@ static ShaDaReadResult fread_len(ShaDaReadDef *const sd_reader, const size_t length) 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) { emsg2(_(SERR "System error while reading ShaDa file: %s"), |