mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 01:46:29 +00:00
refactor: remove redundant casts
This commit is contained in:
@@ -1468,7 +1468,7 @@ char *reverse_text(char *s)
|
||||
/// @return [allocated] Copy of the string.
|
||||
char *strrep(const char *src, const char *what, const char *rep)
|
||||
{
|
||||
char *pos = (char *)src;
|
||||
const char *pos = src;
|
||||
size_t whatlen = strlen(what);
|
||||
|
||||
// Count occurrences
|
||||
|
Reference in New Issue
Block a user