From 876a6e83ff22f70d8ded34907ebe0b90cc9f518b Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Thu, 19 Nov 2009 18:37:30 +0000 Subject: [PATCH] adv_pci1710: Also initialize divisor1 and divisor2 in pci171x_ai_cmdtest(). --- comedi/drivers/adv_pci1710.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2