summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/vt/hw/fb/vt_fb.c1
-rw-r--r--sys/dev/vt/vt_core.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/vt/hw/fb/vt_fb.c b/sys/dev/vt/hw/fb/vt_fb.c
index 0513127..f1b673c 100644
--- a/sys/dev/vt/hw/fb/vt_fb.c
+++ b/sys/dev/vt/hw/fb/vt_fb.c
@@ -107,6 +107,7 @@ vt_fb_bitbltchr(struct vt_device *vd, const uint8_t *src, const uint8_t *mask,
bpp = FBTYPE_GET_BYTESPP(info);
fgc = info->fb_cmap[fg];
bgc = info->fb_cmap[bg];
+ b = m = 0;
if (bpl == 0)
bpl = (width + 7) >> 3; /* Bytes per sorce line. */
diff --git a/sys/dev/vt/vt_core.c b/sys/dev/vt/vt_core.c
index 8e526ce..04fad78 100644
--- a/sys/dev/vt/vt_core.c
+++ b/sys/dev/vt/vt_core.c
@@ -1109,6 +1109,7 @@ vt_mouse_event(int type, int x, int y, int event, int cnt)
vd = main_vd;
vw = vd->vd_curwindow;
vf = vw->vw_font;
+ mark = 0;
if (vw->vw_flags & VWF_MOUSE_HIDE)
return; /* Mouse disabled. */
OpenPOWER on IntegriCloud