mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +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:
@@ -1796,7 +1796,7 @@ scriptitem_T *new_script_item(char_u *const name, scid_T *const sid_out)
|
||||
if (sid_out != NULL) {
|
||||
*sid_out = sid;
|
||||
}
|
||||
ga_grow(&script_items, (int)(sid - script_items.ga_len));
|
||||
ga_grow(&script_items, sid - script_items.ga_len);
|
||||
while (script_items.ga_len < sid) {
|
||||
script_items.ga_len++;
|
||||
SCRIPT_ITEM(script_items.ga_len).sn_name = NULL;
|
||||
@@ -2188,7 +2188,6 @@ scriptitem_T *get_current_script_id(char_u *fname, sctx_T *ret_sctx)
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// ":scriptnames"
|
||||
void ex_scriptnames(exarg_T *eap)
|
||||
{
|
||||
|
Reference in New Issue
Block a user