Mercurial > vim
comparison src/blob.c @ 24454:53216e87f21c v8.2.2767
patch 8.2.2767: compiler warning for unused argument
Commit: https://github.com/vim/vim/commit/bd6406f15db210b78fa24dece3bd021a7ac085dc
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 14 21:30:06 2021 +0200
patch 8.2.2767: compiler warning for unused argument
Problem: Compiler warning for unused argument.
Solution: Remove the argument.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 14 Apr 2021 21:45:03 +0200 |
parents | 3e1886f1e875 |
children | 96905804bf5a |
comparison
equal
deleted
inserted
replaced
24453:f5ad68b7c901 | 24454:53216e87f21c |
---|---|
338 | 338 |
339 /* | 339 /* |
340 * Check if "n1"- is a valid index for a blobl with length "bloblen". | 340 * Check if "n1"- is a valid index for a blobl with length "bloblen". |
341 */ | 341 */ |
342 int | 342 int |
343 check_blob_index(long bloblen, varnumber_T n1, int is_range, int quiet) | 343 check_blob_index(long bloblen, varnumber_T n1, int quiet) |
344 { | 344 { |
345 if (n1 < 0 || n1 > bloblen) | 345 if (n1 < 0 || n1 > bloblen) |
346 { | 346 { |
347 if (!quiet) | 347 if (!quiet) |
348 semsg(_(e_blobidx), n1); | 348 semsg(_(e_blobidx), n1); |