From afda9ed915875524f86338cc47ac43b8472d11d5 Mon Sep 17 00:00:00 2001 From: mrg Date: Sat, 20 May 2006 07:09:08 +0000 Subject: [PATCH] initialise pos.x and pos.y to appease GCC4. --- sys/dev/ic/igsfb.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/dev/ic/igsfb.c b/sys/dev/ic/igsfb.c index bcf13803db7a..870be05df924 100644 --- a/sys/dev/ic/igsfb.c +++ b/sys/dev/ic/igsfb.c @@ -1,4 +1,4 @@ -/* $NetBSD: igsfb.c,v 1.38 2006/04/12 19:38:23 jmmv Exp $ */ +/* $NetBSD: igsfb.c,v 1.39 2006/05/20 07:09:08 mrg Exp $ */ /* * Copyright (c) 2002, 2003 Valeriy E. Ushakov @@ -31,7 +31,7 @@ * Integraphics Systems IGA 168x and CyberPro series. */ #include -__KERNEL_RCSID(0, "$NetBSD: igsfb.c,v 1.38 2006/04/12 19:38:23 jmmv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: igsfb.c,v 1.39 2006/05/20 07:09:08 mrg Exp $"); #include #include @@ -893,6 +893,7 @@ igsfb_set_cursor(struct igsfb_devconfig *dc, const struct wsdisplay_cursor *p) cc = &dc->dc_cursor; v = p->which; index = count = icount = iwidth = 0; /* XXX: gcc */ + pos.x = pos.y = 0; /* XXX: gcc */ /* copy in the new cursor colormap */ if (v & WSDISPLAY_CURSOR_DOCMAP) {