Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/rasops Initialize db in copycols() to zero to pacify...
details: https://anonhg.NetBSD.org/src/rev/cb3cc27e7d04
branches: trunk
changeset: 472408:cb3cc27e7d04
user: ad <ad%NetBSD.org@localhost>
date: Thu Apr 29 03:38:39 1999 +0000
description:
Initialize db in copycols() to zero to pacify gcc, as noted by Simon Burge.
This doesn't change anything until it's fixed.
diffstat:
sys/dev/rasops/rasops_bitops.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r a01554b9ed16 -r cb3cc27e7d04 sys/dev/rasops/rasops_bitops.h
--- a/sys/dev/rasops/rasops_bitops.h Thu Apr 29 03:17:12 1999 +0000
+++ b/sys/dev/rasops/rasops_bitops.h Thu Apr 29 03:38:39 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rasops_bitops.h,v 1.1 1999/04/26 04:27:48 ad Exp $ */
+/* $NetBSD: rasops_bitops.h,v 1.2 1999/04/29 03:38:39 ad Exp $ */
/*
* Copyright (c) 1999 Andy Doran <ad%NetBSD.org@localhost>
@@ -189,6 +189,9 @@
return;
#endif
+ /* XXX pacify gcc until this is fixed XXX */
+ db = 0;
+
cnt = ri->ri_font->fontwidth << PIXEL_SHIFT;
src *= cnt;
dst *= cnt;
Home |
Main Index |
Thread Index |
Old Index