Fix warnings: ops.c: op_yank_reg(): Dead assignment: HI.

Problem    : Dead assignment @ 2480.
Diagnostic : Harmless issue.
Rationale  : It's true `reg` is not used any more after that point.
Resolution : Delete line.
This commit is contained in:
Eliseo Martínez
2015-04-21 14:25:41 +02:00
parent 04e098fc3c
commit 178e9fc2f6

View File

@@ -2477,7 +2477,6 @@ static void op_yank_reg(oparg_T *oap, bool message, yankreg_T *reg, bool append)
curr->y_array[j++] = reg->y_array[y_idx++];
curr->y_size = j;
xfree(reg->y_array);
reg = curr;
}
if (curwin->w_p_rnu) {
redraw_later(SOME_VALID); // cursor moved to start