mirror of
https://github.com/neovim/neovim.git
synced 2025-09-08 12:28:18 +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);
|
xfree(msgbuf);
|
||||||
msgbuf = r;
|
msgbuf = r;
|
||||||
// move reversed text to beginning of buffer
|
// move reversed text to beginning of buffer
|
||||||
while (*r != NUL && *r == ' ') {
|
while (*r == ' ') {
|
||||||
r++;
|
r++;
|
||||||
}
|
}
|
||||||
size_t pat_len = msgbuf + STRLEN(msgbuf) - r;
|
size_t pat_len = msgbuf + STRLEN(msgbuf) - r;
|
||||||
|
Reference in New Issue
Block a user