From: Ian Abbott Date: Thu, 19 Nov 2009 11:30:05 +0000 (+0000) Subject: adl_pci9118: In pci9118_ai_cmdtest(), initialize divisor1 and divisor2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5f854d339e0e7215b61afb6b3744111f66623f34;p=comedi.git adl_pci9118: In pci9118_ai_cmdtest(), initialize divisor1 and divisor2 values, passed by reference to i8253_cascade_ns_to_timer(). --- diff --git a/comedi/drivers/adl_pci9118.c b/comedi/drivers/adl_pci9118.c index cf0cfe8a..9a355511 100644 --- a/comedi/drivers/adl_pci9118.c +++ b/comedi/drivers/adl_pci9118.c @@ -754,7 +754,7 @@ static int pci9118_ai_cmdtest(comedi_device * dev, comedi_subdevice * s, comedi_cmd * cmd) { int err = 0; - int tmp, divisor1, divisor2; + int tmp, divisor1 = 0, divisor2 = 0; /* step 1: make sure trigger sources are trivially valid */