mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 15:08:35 +00:00
ops: Silence “counter not used in loop” false positive
This commit is contained in:
@@ -2785,7 +2785,7 @@ void do_put(int regname, yankreg_T *reg, int dir, long count, int flags)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (curbuf->terminal) {
|
if (curbuf->terminal) {
|
||||||
for (int i = 0; i < count; i++) {
|
for (int i = 0; i < count; i++) { // -V756
|
||||||
// feed the lines to the terminal
|
// feed the lines to the terminal
|
||||||
for (size_t j = 0; j < y_size; j++) {
|
for (size_t j = 0; j < y_size; j++) {
|
||||||
if (j) {
|
if (j) {
|
||||||
|
Reference in New Issue
Block a user