Bram Moolenaar <[email protected]> wrote:
> Patch 8.2.2765
> Problem: Vim9: not all blob operations work.
> Solution: Run more tests also with Vim9 script and :def functions. Fix what
> doesn't work.
> Files: src/eval.c, src/blob.c, src/proto/blob.pro, src/vim9execute.c,
> src/errors.h, src/testdir/vim9.vim, src/testdir/test_blob.vim
...snip...
> + */
> + int
> + check_blob_index(long bloblen, varnumber_T n1, int is_range, int quiet)
> + {
> + if (n1 < 0 || n1 > bloblen)
> + {
> + if (!quiet)
> + semsg(_(e_blobidx), n1);
> + return FAIL;
> + }
> + return OK;
> + }
clang-12 gives a warning as the 2nd parameter is not used:
blob.c:343:52: warning: unused parameter 'is_range' [-Wunused-parameter]
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/CAON-T_hhXJuRdkHyV4NTCUvbevZQXzecF7AzV0-O15e3dXtwew%40mail.gmail.com.