From: Ian Abbott Date: Thu, 19 Nov 2009 18:37:30 +0000 (+0000) Subject: adv_pci1710: Also initialize divisor1 and divisor2 in pci171x_ai_cmdtest(). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=876a6e83ff22f70d8ded34907ebe0b90cc9f518b;p=comedi.git adv_pci1710: Also initialize divisor1 and divisor2 in pci171x_ai_cmdtest(). --- diff --git a/comedi/drivers/adv_pci1710.c b/comedi/drivers/adv_pci1710.c index 53cae42c..cd3229c0 100644 --- a/comedi/drivers/adv_pci1710.c +++ b/comedi/drivers/adv_pci1710.c @@ -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