adl_pci9118: In pci9118_ai_cmdtest(), initialize divisor1 and divisor2
authorIan Abbott <abbotti@mev.co.uk>
Thu, 19 Nov 2009 11:30:05 +0000 (11:30 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Thu, 19 Nov 2009 11:30:05 +0000 (11:30 +0000)
values, passed by reference to i8253_cascade_ns_to_timer().

comedi/drivers/adl_pci9118.c

index cf0cfe8a4e45b68664d2ec6c81c9fa539eebabe9..9a355511f64e576a66243f0843989f1baa675615 100644 (file)
@@ -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 */