Fix gcc-4.1 warnings (uninitialized variables).
authorIan Abbott <abbotti@mev.co.uk>
Wed, 21 Jun 2006 16:30:06 +0000 (16:30 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Wed, 21 Jun 2006 16:30:06 +0000 (16:30 +0000)
comedi/drivers/pcl816.c

index 276e9553d1e99d2855993d8115428b3dc0d1bbbf..7665821b07b574f3abef7088cd5726a1a5b684af 100644 (file)
@@ -604,7 +604,7 @@ DEBUG(
 
 static int pcl816_ai_cmd(comedi_device *dev,comedi_subdevice *s)
 {
-       unsigned int    divisor1, divisor2, dma_flags, bytes, dmairq;
+       unsigned int    divisor1=0, divisor2=0, dma_flags, bytes, dmairq;
        comedi_cmd      *cmd=&s->async->cmd;