Work around gcc 2.95.3's inability to detect that 'ck' will be set

in rounds 129 and 130 through the loop.  Will be noted in doc/HACKS,
and should be reviewed when gcc 3.3.2 is ready for vax.
This commit is contained in:
he 2003-11-06 00:30:13 +00:00
parent 505125808c
commit 93d88e5e12
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ctu.c,v 1.19 2003/07/15 02:15:03 lukem Exp $ */
/* $NetBSD: ctu.c,v 1.20 2003/11/06 00:30:13 he Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
* All rights reserved.
@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ctu.c,v 1.19 2003/07/15 02:15:03 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: ctu.c,v 1.20 2003/11/06 00:30:13 he Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -267,7 +267,7 @@ cturintr(void *arg)
int status = mfpr(PR_CSRD);
struct buf *bp;
int i, c, tck;
unsigned short ck;
unsigned short ck = 0;
bp = BUFQ_PEEK(&tu_sc.sc_bufq);
switch (tu_sc.sc_state) {