mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
refactor: clang-tidy fixes to silence clangd warning (#20683)
* refactor: readability-uppercase-literal-suffix * refactor: readability-named-parameter * refactor: bugprone-suspicious-string-compare * refactor: google-readability-casting * refactor: readability-redundant-control-flow * refactor: bugprone-too-small-loop-variable * refactor: readability-non-const-parameter * refactor: readability-avoid-const-params-in-decls * refactor: google-readability-todo * refactor: readability-inconsistent-declaration-parameter-name * refactor: bugprone-suspicious-missing-comma * refactor: remove noisy or slow warnings
This commit is contained in:
@@ -2301,7 +2301,7 @@ void *my_iconv_open(char_u *to, char_u *from)
|
||||
// sequence and set "*unconvlenp" to the length of it.
|
||||
// Returns the converted string in allocated memory. NULL for an error.
|
||||
// If resultlenp is not NULL, sets it to the result length in bytes.
|
||||
static char_u *iconv_string(const vimconv_T *const vcp, char_u *str, size_t slen,
|
||||
static char_u *iconv_string(const vimconv_T *const vcp, const char_u *str, size_t slen,
|
||||
size_t *unconvlenp, size_t *resultlenp)
|
||||
{
|
||||
const char *from;
|
||||
|
Reference in New Issue
Block a user