adv_pci1710: Also initialize divisor1 and divisor2 in pci171x_ai_cmdtest().
authorIan Abbott <abbotti@mev.co.uk>
Thu, 19 Nov 2009 18:37:30 +0000 (18:37 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Thu, 19 Nov 2009 18:37:30 +0000 (18:37 +0000)
comedi/drivers/adv_pci1710.c

index 53cae42c44a87a8c8232ea00f9cad90d09e591ac..cd3229c0a2ced5b5f701691d3ac1535f8c3c388f 100644 (file)
@@ -904,7 +904,7 @@ static int pci171x_ai_cmdtest(comedi_device * dev, comedi_subdevice * s,
        comedi_cmd * cmd)
 {
        int err = 0;
-       int tmp, divisor1, divisor2;
+       int tmp, divisor1 = 0, divisor2 = 0;
 
        DPRINTK("adv_pci1710 EDBG: BGN: pci171x_ai_cmdtest(...)\n");
 #ifdef PCI171X_EXTDEBUG