mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
refactor: remove redundant casts
This commit is contained in:
@@ -1146,7 +1146,7 @@ again:
|
||||
if (do_searchpair("<[^ \t>/!]\\+\\%(\\_s\\_[^>]\\{-}[^/]>\\|$\\|\\_s\\=>\\)",
|
||||
"",
|
||||
"</[^>]*>", BACKWARD, NULL, 0,
|
||||
NULL, (linenr_T)0, 0) <= 0) {
|
||||
NULL, 0, 0) <= 0) {
|
||||
curwin->w_cursor = old_pos;
|
||||
goto theend;
|
||||
}
|
||||
@@ -1172,7 +1172,7 @@ again:
|
||||
"<%.*s\\>\\%%(\\_s\\_[^>]\\{-}\\_[^/]>\\|\\_s\\?>\\)\\c", len, p);
|
||||
snprintf(epat, epat_len, "</%.*s>\\c", len, p);
|
||||
|
||||
const int r = do_searchpair(spat, "", epat, FORWARD, NULL, 0, NULL, (linenr_T)0, 0);
|
||||
const int r = do_searchpair(spat, "", epat, FORWARD, NULL, 0, NULL, 0, 0);
|
||||
|
||||
xfree(spat);
|
||||
xfree(epat);
|
||||
|
Reference in New Issue
Block a user