sub = &subs->norm;
}
+ /* avoid compiler warnings */
+ save_ptr = NULL;
+ save_lpos.lnum = 0;
+ save_lpos.col = 0;
+
/* Set the position (with "off" added) in the subexpression. Save
* and restore it when it was in use. Otherwise fill any gap. */
- save_ptr = NULL;
if (REG_MULTI)
{
if (subidx < sub->in_use)
sub->list.multi[subidx].end.col =
(colnr_T)(reginput - regline + off);
}
+ /* avoid compiler warnings */
+ save_ptr = NULL;
}
else
{
save_ptr = sub->list.line[subidx].end;
sub->list.line[subidx].end = reginput + off;
+ /* avoid compiler warnings */
+ save_lpos.lnum = 0;
+ save_lpos.col = 0;
}
subs = addstate(l, state->out, subs, pim, off);
int result; /* result of various function calls */
char_u old_p_ws = p_ws;
int flags = 0;
- pos_T save_VIsual;
+ pos_T save_VIsual = VIsual;
int one_char;
/* wrapping should not occur */
if (VIsual_active)
{
orig_pos = curwin->w_cursor;
- save_VIsual = VIsual;
pos = curwin->w_cursor;
start_pos = VIsual;