vim-patch:8.2.2767: compiler warning for unused argument

Problem:    Compiler warning for unused argument.
Solution:   Remove the argument.

bd6406f15d

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
zeertzjq
2023-02-28 13:39:59 +08:00
parent c554e98978
commit 1f1227f12b
2 changed files with 2 additions and 2 deletions

View File

@@ -2711,7 +2711,7 @@ bool tv_blob_equal(const blob_T *const b1, const blob_T *const b2)
}
/// Check if "n1" is a valid index for a blob with length "bloblen".
int tv_blob_check_index(int bloblen, varnumber_T n1, int is_range, bool quiet)
int tv_blob_check_index(int bloblen, varnumber_T n1, bool quiet)
{
if (n1 < 0 || n1 > bloblen) {
if (!quiet) {