Make gcc happy by initialising the variable only set in a couple of
case statements without a default. MFC after: 2 days X-MFC with: r271871
This commit is contained in:
parent
f4d6293c72
commit
a10068fdf5
@ -83,6 +83,7 @@ vthistory_seek(struct vt_buf *vb, int offset, int whence)
|
||||
bottom + vb->vb_scr_size.tp_row - vb->vb_history_size :
|
||||
0;
|
||||
|
||||
roffset = 0; /* Make gcc happy. */
|
||||
switch (whence) {
|
||||
case VHS_SET:
|
||||
if (offset < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user