mirror of
https://github.com/neovim/neovim.git
synced 2025-12-06 14:42:35 +00:00
Merge pull request #17622 from dundargoc/refactor/clang-tidy/remove-redundant-casts
refactor/clang tidy/remove redundant casts
This commit is contained in:
@@ -9440,7 +9440,7 @@ void new_script_vars(scid_T id)
|
||||
hashtab_T *ht;
|
||||
scriptvar_T *sv;
|
||||
|
||||
ga_grow(&ga_scripts, (int)(id - ga_scripts.ga_len));
|
||||
ga_grow(&ga_scripts, id - ga_scripts.ga_len);
|
||||
{
|
||||
/* Re-allocating ga_data means that an ht_array pointing to
|
||||
* ht_smallarray becomes invalid. We can recognize this: ht_mask is
|
||||
|
||||
Reference in New Issue
Block a user