mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
PVS/V590: redundant condition #10510
This commit is contained in:

committed by
Justin M. Keyes

parent
5a32db9ad4
commit
63ecfc97ef
@@ -1217,7 +1217,7 @@ int do_search(
|
||||
xfree(msgbuf);
|
||||
msgbuf = r;
|
||||
// move reversed text to beginning of buffer
|
||||
while (*r != NUL && *r == ' ') {
|
||||
while (*r == ' ') {
|
||||
r++;
|
||||
}
|
||||
size_t pat_len = msgbuf + STRLEN(msgbuf) - r;
|
||||
|
Reference in New Issue
Block a user