From 3412feedb648375ba53f75636f37baebc5a2f428 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sun, 3 Sep 2000 01:44:57 +0000 Subject: [PATCH] warning cleanups --- comedi/drivers/das16.c | 2 ++ comedi/drivers/dt3000.c | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/comedi/drivers/das16.c b/comedi/drivers/das16.c index c9522862..844474b0 100644 --- a/comedi/drivers/das16.c +++ b/comedi/drivers/das16.c @@ -950,6 +950,7 @@ static int SetPacerFreq(BoardRec * board) } #endif +#if 0 /*************************************************************************** * * Load two part frequency to pacer counter chip. @@ -1021,6 +1022,7 @@ static void stop_pacer(comedi_device *dev) mask = C1 | MODE2 | LSBFIRST; outb(mask, dev->iobase + COUNTERA_CONTROL); } +#endif /*************************************************************************** * diff --git a/comedi/drivers/dt3000.c b/comedi/drivers/dt3000.c index 967e1aab..2c5d023a 100644 --- a/comedi/drivers/dt3000.c +++ b/comedi/drivers/dt3000.c @@ -238,6 +238,10 @@ static int dt3k_send_cmd(comedi_device *dev,unsigned int cmd) int i; unsigned int status; + /* XXX my gcc has a bug that causes a warning if the following + * is not there */ + status = 0; + writew(cmd,dev->iobase+DPR_Command_Mbx); for(i=0;i